Skip to content

Commit

Permalink
#114 new bbox...
Browse files Browse the repository at this point in the history
  • Loading branch information
webgisdeveloper committed Apr 13, 2021
1 parent bd18699 commit ef5a81c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions simccs_maptool/static/js/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,9 @@ function addcostsurface(bbox) {
allvectorlayers.push(value); }
var vectorGroup = L.featureGroup(allvectorlayers);
var vecb = vectorGroup.getBounds();
console.log(vectorbounds);
//"BBOX": [-89.91, 38.1, -87.7, 40.9]}}
// BBOX: [west, south, east, north]
bbox = [vecb.getWest(),vecb.getSouth(),vecb.getEast(),vecb.getNorth()];

allvectorlayers = null;
vectorGroup = null;
cost_image_url += "&subset=Lat(" +(bbox[1]-0.2) +","+(bbox[3]+0.2) +")";
Expand Down

0 comments on commit ef5a81c

Please sign in to comment.