You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to Trigger Behavior
Set boundaries on the MapLibre map using the maplibre-react-native library.
Pan or zoom the map to the edge of the defined boundaries.
Observe the behavior when reaching the boundary limits.
Expected Behavior
The map should restrict the view to stay within the defined boundaries, preventing the user from panning or zooming outside these limits.
Actual Behavior
The map allows panning or zooming outside of the set boundaries a little after that it restricts and if I zoom it certain level then it will set me in the actual boundary, displaying areas that the boundary settings should restrict.
zoom level: 13.65
minZoomLevel: 13.5
in this, I can scroll outside my boundary
Additional Context
I am using the maplibre-react-native library to set map boundaries, but I noticed that the map does not restrict the view as expected. Instead, it allows the user to view areas outside the defined boundaries. This issue occurs even though I have set the boundaries according to the library's documentation. I'm looking for guidance or a fix for this behaviour.
The text was updated successfully, but these errors were encountered:
Steps to Trigger Behavior
Set boundaries on the MapLibre map using the maplibre-react-native library.
Pan or zoom the map to the edge of the defined boundaries.
Observe the behavior when reaching the boundary limits.
Expected Behavior
The map should restrict the view to stay within the defined boundaries, preventing the user from panning or zooming outside these limits.
Actual Behavior
The map allows panning or zooming outside of the set boundaries a little after that it restricts and if I zoom it certain level then it will set me in the actual boundary, displaying areas that the boundary settings should restrict.
zoom level: 13.65
minZoomLevel: 13.5
in this, I can scroll outside my boundary
Additional Context
I am using the maplibre-react-native library to set map boundaries, but I noticed that the map does not restrict the view as expected. Instead, it allows the user to view areas outside the defined boundaries. This issue occurs even though I have set the boundaries according to the library's documentation. I'm looking for guidance or a fix for this behaviour.
The text was updated successfully, but these errors were encountered: