Skip to content

Commit

Permalink
Further extending min and max lat of map
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvansebille committed Sep 26, 2024
1 parent 876787a commit 863e4ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/mapScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function PAMap() {
}

this.map = new ol.Map(this.mapOptions);
this.extent = [-180, 70 , 180, -60]; //[lon, lat, lon, lat]
this.extent = [-180, 75 , 180, -65]; //[lon, lat, lon, lat]
this.extent = ol.extent.applyTransform(this.extent, ol.proj.getTransform("EPSG:4326", "EPSG:3857"));
this.map.getView().fit(this.extent, this.map.getSize());

Expand Down

0 comments on commit 863e4ca

Please sign in to comment.