Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] cameraTargetBounds on iOS not working #532

Open
Tamerlanchiques opened this issue Dec 18, 2024 · 1 comment
Open

[BUG] cameraTargetBounds on iOS not working #532

Tamerlanchiques opened this issue Dec 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Tamerlanchiques
Copy link

Tamerlanchiques commented Dec 18, 2024

Platforms

iOS

Version of flutter maplibre_gl

0.20.0

Bug Description

Map widget don't obey to given cameraTargetBounds on iOS (works on Android).

Steps to Reproduce

  1. Set "cameraTargetBounds" parameter to MapLibreMap widget
  2. Try to move out of the bounds

Expected Results

You can not move out of the bounds

Actual Results

You succesfully move out of bounds

Code Sample

          return MapLibreMap(
            cameraTargetBounds: CameraTargetBounds(
              LatLngBounds(
                southwest: LatLng(47.33376372996099, 111.87315765210667),
                northeast: LatLng(57.50798140247238, 141.70422498341333),
              ),
            ),
            minMaxZoomPreference: const MinMaxZoomPreference(5, 18),
          );
@Tamerlanchiques Tamerlanchiques added the bug Something isn't working label Dec 18, 2024
@Tamerlanchiques
Copy link
Author

2024-12-19.00-57-48.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant