-
-
Notifications
You must be signed in to change notification settings - Fork 94
Restrict navigation to map bounds #73
Copy link
Copy link
Open
Labels
feature-requestRequest for a new featureRequest for a new featuregood first issueGood for newcomersGood for newcomers
Metadata
Metadata
Assignees
Labels
feature-requestRequest for a new featureRequest for a new featuregood first issueGood for newcomersGood for newcomers
Type
Fields
Give feedbackNo fields configured for issues without a type.
Difficulty: Hard
Currently, there are no bounds when navigating (pan, zoom) the map. The goal of this task is to restrict the navigation such that users can not escape and see empty space.
🤔 Expected Behavior
In Y direction the navigation should be restricted such that one can not pan out from the map.
In X direction it should be possible to infinitely pan. When panning beyond the bounds then the world should should be wrapped. This is done in #74.
😯 Current Behavior
There are no bounds.
💁 Possible Solution
??