Skip to content

Commit

Permalink
restrict layers to bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
tmwdr authored and brunob committed Feb 1, 2022
1 parent 5c0b669 commit b8689f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion leaflet-providers.js
Original file line number Diff line number Diff line change
Expand Up @@ -1096,7 +1096,8 @@
options: {
attribution: '&copy; <a href="https://www.swisstopo.admin.ch/">swisstopo</a>',
minZoom: 2,
maxZoom: 18
maxZoom: 18,
bounds: [[45.398181, 5.140242], [48.230651, 11.47757]]
},
variants: {
NationalMapColor: 'ch.swisstopo.pixelkarte-farbe',
Expand Down

0 comments on commit b8689f0

Please sign in to comment.