Skip to content

Commit

Permalink
#158 set candidateNetwork color black
Browse files Browse the repository at this point in the history
  • Loading branch information
webgisdeveloper committed Aug 24, 2021
1 parent 0ea231b commit 7a1916a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions simccs_maptool/templates/simccs_maptool/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -817,6 +817,8 @@
// already displayed I'm opting to only display the Network
candidateNetworkLayer.clearLayers();
candidateNetworkLayer.addData(data["Network"]);
candidateNetworkLayer.setStyle({'color':'black','weight': 2});

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

0 comments on commit 7a1916a

Please sign in to comment.