mirror of
https://github.com/heyarne/berliner-winter.git
synced 2026-05-07 03:33:39 +02:00
Make sure popups at the borders can still be displayed correctly and closed
This commit is contained in:
parent
b606226d99
commit
04999978dc
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ var layer = new L.StamenTileLayer('toner-lite')
|
|||
map.addLayer(layer)
|
||||
|
||||
// restrict viewable area
|
||||
map.setMaxBounds(map.getBounds())
|
||||
map.setMaxBounds(map.getBounds().pad(0.4))
|
||||
map.options.minZoom = map.getZoom()
|
||||
|
||||
// get response from server and draw the map
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue