Closed stefanschaller closed 1 year ago
I tried to investigate whether this feature has recently been added to the native iOS library and noticed you guys just got this merged, very nice! 👍 😄
@m0nac0 Yeah, I will update the native iOS package ASAP. We just need a new pod version
We just need a new pod version
I think we have to wait for a new native release first, right?
But I noticed there is no pod yet for native iOS v.5.13.0. So I opened a PR for that https://github.com/m0nac0/flutter-maplibre-podspecs/pull/2, but I think we'd first want to pin the dependency in the example app https://github.com/maplibre/flutter-maplibre-gl/pull/276
Similar to the issue: https://github.com/maplibre/flutter-maplibre-gl/issues/273, but on iOS.
We need to restrict the visible area to a specific country, since we don't want to show the whole world.
Minimal example to reproduce the issue:
I'm using the following versions:
The bounding box is working, but behaves weird and the experience doesn't feel good. I just figured out, that the web + Android implementation is using the native function:
nativeSetLatLngBounds
, but on iOS we do the following:How could I reproduce the "weird" feeling?
Use my minimal example code above and zoom in to the edge of the bounding box. Try to zoom out in the near of the bounding box. it should be clear after checking that case by yourself. You could also compare the behaviors with the web implementation, since it behaves correct on that platform.