Skip to content

Commit

Permalink
#125 reverse back
Browse files Browse the repository at this point in the history
  • Loading branch information
webgisdeveloper committed Jul 27, 2021
1 parent 8e0e1bf commit cf3aa56
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions simccs_maptool/templates/simccs_maptool/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1790,8 +1790,7 @@ <h5 class="modal-title">Generate MPS file</h5>
}
});
// 0-0.25, 0.25-5, 5-7.5, 10
var result_networkLayer = new L.geoJSON(data["Network"],{style:{color:"blue",opacity:0.5,weight:function (feature) {var x = feature.properties.Flow;
if (x<=0.25) {return 1;} else if (x>0.25 && x<=5) {return 2;} else if (x>5 && x<=7.5) {return 3;} else if (x>7.5) {return 4;} else {return 1;}},pane:"linesPane"},
var result_networkLayer = new L.geoJSON(data["Network"],{style:{color:"blue",opacity:0.5,weight:4,pane:"linesPane"},
onEachFeature: function (feature, layer) {layer.bindPopup("Flow: " + feature.properties.Flow +"<br/>Length (KM): "+feature.properties.LengKM);}
});

Expand Down

0 comments on commit cf3aa56

Please sign in to comment.