From 9b081c62bb3be1125541e0f4a4439a79019cafcb Mon Sep 17 00:00:00 2001 From: webgisdeveloper Date: Tue, 24 Aug 2021 10:39:32 -0400 Subject: [PATCH] #158 build candidateNetwork color --- simccs_maptool/static/js/build.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/simccs_maptool/static/js/build.js b/simccs_maptool/static/js/build.js index de904ea..c9c288b 100644 --- a/simccs_maptool/static/js/build.js +++ b/simccs_maptool/static/js/build.js @@ -445,10 +445,9 @@ function generatecandidatenetwork(panelid) { return AiravataAPI.utils.FetchUtils.post("/maptool/candidate-network/", formData).then(function( data ) { // Note: 'data' includes Sinks and Sources but since those are // already displayed I'm opting to only display the Network - var candidateNetworkLayer = L.geoJSON(null, {style:{color:"blue",opacity:0.5,weight:4}}); + var candidateNetworkLayer = L.geoJSON(null, {style:{color:"black",opacity:0.6,weight:3}}); candidateNetworkLayer.clearLayers(); candidateNetworkLayer.addData(data["Network"]); - candidateNetworkLayer.setStyle({'color':'black','weight': 3}); if (!map.hasLayer(candidateNetworkLayer)) { candidateNetworkLayer.addTo(map);