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 7a1916a commit 249073f
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 @@ -1663,6 +1663,8 @@ <h5 class="modal-title">Error</h5>
// 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 249073f

Please sign in to comment.