-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[iOS] setVisibleCoordinateBounds acts randomly #14991
Comments
I have the same strange behavior with method
|
@1ec5 it seems to me that region animation fail du to performance issue in MGLMapView.mm where |
Just start the demo app, tap on center user button, the map zoom in on the user. From here the CPU never goes down (50 to 90%) and the app creates in loop camera from the rendering... |
Thanks for the amazing feedback @RomainQuidet! |
@RomainQuidet I believe this issue has been fixed by #15130. You can try it and thanks again for your feedback! |
Thanks for the correction, I'll try SDK 5.2 beta as soon as possible! |
Hi, I did a 5.2 update on our app, the behavior is not anymore random, but still incorrect (systematic wrong offset computed)... |
On iOS SDK 5.1, I'm using the method
to center the view on a region. Each time I call this, the camera animation does not end on the region fitting the view as it used to on SDK 4.9 and 5.0. See linked video.
SetVisibleBounds.mp4.zip
Steps to reproduce
Expected behavior
The map shows the region fit in the view.
Actual behavior
The map show the regions with some offset, animation seems not to end correctly
Configuration
Mapbox SDK versions: 5.1
iOS/macOS versions: 12
Device/simulator models: both
Xcode version:10.2
The text was updated successfully, but these errors were encountered: