Skip to content
This repository has been archived by the owner on Oct 7, 2019. It is now read-only.

Commit

Permalink
watershed result layer
Browse files Browse the repository at this point in the history
  • Loading branch information
gassc committed Mar 8, 2018
1 parent 7371675 commit be3b96f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions project/static/js/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ var map = L.map("map", {
* add layers
*/
map.addLayer(layer_dams_clusters);
map.addLayer(watershedArea);
// map.addLayer(watershedArea);
map.addLayer(searchResults);

/**
Expand All @@ -122,7 +122,11 @@ map.addControl(
// layer control
map.addControl(
L.control
.layers({}, { "NYS Dams": layer_dams_clusters, "National Hydrography": layer_streams })
.layers({}, {
"NYS Dams": layer_dams_clusters,
"National Hydrography": layer_streams,
"Delineated Watershed": watershedArea
})
.setPosition("bottomright")
);
// geocoding conrol
Expand Down

0 comments on commit be3b96f

Please sign in to comment.