diff --git a/simccs_maptool/templates/simccs_maptool/index.html b/simccs_maptool/templates/simccs_maptool/index.html index 4ce2990..f4c60d6 100644 --- a/simccs_maptool/templates/simccs_maptool/index.html +++ b/simccs_maptool/templates/simccs_maptool/index.html @@ -1919,7 +1919,7 @@ pointToLayer: function (feature, latlng) { var mymarker = L.circleMarker(latlng,{radius: 9,fillColor: "blue", color: "#000",weight: 1,opacity: 1,fillOpacity: 0.8,pane: "pointsPane"}); - var content_str = ''; + var content_str = ''; content_str += "ID: " + feature.properties.Id + "
"; var namestr = findNamebyID(feature.properties.Id,sinks_arr); if (namestr.length > 0) { content_str += "Name: " + namestr + "
";} @@ -1935,12 +1935,13 @@ pointToLayer: function (feature, latlng) { var mymarker = L.circleMarker(latlng,{radius: 9,fillColor: "red", color: "#000",weight: 1,opacity: 1,fillOpacity: 0.8,pane: "pointsPane"}); - var content_str = ""; + var content_str = '';; content_str += "ID: " + feature.properties.Id + "
"; var namestr = findNamebyID(feature.properties.Id,sources_arr); if (namestr.length > 0) { content_str += "Name: " + namestr + "
";} content_str += "CO2 captured: " + feature.properties.CO2Cptrd + "
"; content_str += "Max Supply: " + feature.properties.MxSpply; + content_str += "
"; var mypopup = L.popup().setContent(content_str); mymarker.bindPopup(mypopup); return mymarker;