Willenbrink/Ivis-project

Restrict Movement of The World

Closed this issue · 1 comments

Currently, it is possible to move the world map so that it is completely off the screen and thus lose track of where it is. Currently, one has to reload the website if this happens. The best way to solve this would be to restrict the movement of the map so that it cannot move offscreen, but we could also just add a reset button as a temporary solution for the demo.

Zooming also needs to be restricted so that you can't infinitely zoom out (maybe also restrict zooming in to a reasonable level).