Skip to content

Commit

Permalink
#125 weight*1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
webgisdeveloper committed Jul 27, 2021
1 parent bcb85fc commit f320d13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simccs_maptool/templates/simccs_maptool/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1804,7 +1804,7 @@ <h5 class="modal-title">Generate MPS file</h5>
else if (fv > 7.5 && fv <= 10) {lw = 4;}
else if (fv > 10) {lw=5;}
else {lw=1;}
layer.setStyle({weight:lw+1});
layer.setStyle({weight:Math.ceil(lw*1.5)});
});
map.addLayer(result_sinkLayer);
map.addLayer(result_sourceLayer);
Expand Down

0 comments on commit f320d13

Please sign in to comment.