Skip to content

Commit

Permalink
#158 build candidateNetwork color
Browse files Browse the repository at this point in the history
  • Loading branch information
webgisdeveloper committed Aug 24, 2021
1 parent d437043 commit 9dab2c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions simccs_maptool/static/js/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,8 @@ function generatecandidatenetwork(panelid) {
var candidateNetworkLayer = L.geoJSON(null, {style:{color:"blue",opacity:0.5,weight:4}});
candidateNetworkLayer.clearLayers();
candidateNetworkLayer.addData(data["Network"]);
candidateNetworkLayer.setStyle({'color':'black','weight': 3});

if (!map.hasLayer(candidateNetworkLayer)) {
candidateNetworkLayer.addTo(map);
}
Expand Down

0 comments on commit 9dab2c0

Please sign in to comment.