Skip to content

Commit

Permalink
#166 popup increase font size
Browse files Browse the repository at this point in the history
  • Loading branch information
webgisdeveloper committed Oct 5, 2021
1 parent d8eba32 commit bd27932
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions simccs_maptool/templates/simccs_maptool/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1919,7 +1919,7 @@ <h5 class="modal-title">Generate MPS file</h5>
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 = '<span style="font-size:14px">';
var content_str = '<span style="font-size:16px">';
content_str += "ID: " + feature.properties.Id + "<br/>";
var namestr = findNamebyID(feature.properties.Id,sinks_arr);
if (namestr.length > 0) { content_str += "Name: " + namestr + "<br/>";}
Expand All @@ -1935,12 +1935,13 @@ <h5 class="modal-title">Generate MPS file</h5>
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 = '<span style="font-size:16px">';;
content_str += "ID: " + feature.properties.Id + "<br/>";
var namestr = findNamebyID(feature.properties.Id,sources_arr);
if (namestr.length > 0) { content_str += "Name: " + namestr + "<br/>";}
content_str += "CO2 captured: " + feature.properties.CO2Cptrd + "<br/>";
content_str += "Max Supply: " + feature.properties.MxSpply;
content_str += "</span>";
var mypopup = L.popup().setContent(content_str);
mymarker.bindPopup(mypopup);
return mymarker;
Expand Down

0 comments on commit bd27932

Please sign in to comment.