|
@@ -314,7 +314,7 @@ function init_map() {
|
|
|
icon_ffdn['options']['iconUrl'] = '../static/img/marker_ffdn.png';
|
|
|
|
|
|
window.isp_list={};
|
|
|
- $.getJSON('/isp/map_data.json', function(data) {
|
|
|
+ $.getJSON('/isp/map_data_cube.json', function(data) {
|
|
|
$.each(data, function(k, isp) {
|
|
|
window.isp_list[isp.id]=isp;
|
|
|
if(!('coordinates' in isp))
|
|
@@ -323,7 +323,7 @@ function init_map() {
|
|
|
if (!isp.ffdn_member) return;
|
|
|
|
|
|
var marker = L.marker([isp['coordinates']['latitude'], isp['coordinates']['longitude']],
|
|
|
- {'icon': isp.ffdn_member ? icon_ffdn : icon});
|
|
|
+ {'icon': isp.distribute_zsh:1: ube ? icon_cube : icon_ffdn});
|
|
|
|
|
|
marker.bindPopup(isp.popup);
|
|
|
marker.getPopup().on('open', function() {
|