From 7a1916ac198ddcdb1bf8e7e89728a78d8b467fbd Mon Sep 17 00:00:00 2001 From: webgisdeveloper Date: Tue, 24 Aug 2021 10:15:00 -0400 Subject: [PATCH] #158 set candidateNetwork color black --- simccs_maptool/templates/simccs_maptool/index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/simccs_maptool/templates/simccs_maptool/index.html b/simccs_maptool/templates/simccs_maptool/index.html index cef4c8a..1828c85 100644 --- a/simccs_maptool/templates/simccs_maptool/index.html +++ b/simccs_maptool/templates/simccs_maptool/index.html @@ -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); }