-
Notifications
You must be signed in to change notification settings - Fork 161
Camera Bounds #2723
Copy link
Copy link
Open
Labels
auto-triagedAutomatically triaged by AIAutomatically triaged by AIquestionFurther information is requestedFurther information is requested
Description
Activity
Metadata
Metadata
Assignees
Labels
auto-triagedAutomatically triaged by AIAutomatically triaged by AIquestionFurther information is requestedFurther information is requested
In Mapbox Android, is it possible to restrict the camera so that a specific bounds area is always visible?
For example, my allowed bounds are [0.0, 0.0] to [1.0, 1.0]. When the user pans or zooms, I want the camera center to remain inside this bounds area at all times.
I tried using camera bounds, but I want to confirm whether Mapbox provides a built-in way to keep the camera center constrained inside the bounds across all zoom levels, including min zoom and max zoom.