orblivion / desert-atlas

Other
7 stars 1 forks source link

Don't let the user scroll off of the map #53

Closed orblivion closed 1 year ago

orblivion commented 1 year ago

Reported by @Ryuno-Ki

If you zoom out all the way and start scrolling, it's possible to lose the world map entirely.

Suggested approaches:

I suspect the third option is the simplest; there's probably something built into Leaflet. I did want something like the first one at some point regardless, but I don't want to take the time for launch. I'll split that off.

orblivion commented 1 year ago

appVersion 35 (new app-id: https://apps.sandstorm.io/app/e5eaqnrqfrhgax1awtgw9uqayg42kcen2gkpynjs3j5mww7w3rp0?experimental=true)