Skip to content

Camera Bounds #2723

Description

@Syed0040

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-triagedAutomatically triaged by AIquestionFurther information is requested

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions