Closed g4rb4g3 closed 8 months ago
No code example found in issue body - More info
@mfazekas Sorry for not providing an example but from the information I provided it should be pretty easy to understand what is not working. Could you still check it please? Thanks!
Also not working for me
Any fix for this issue ???
Same problem on iOS with version 11.0.0
any updates for this issue guys ?
I'm getting same issue too.
Any updates on this one? It's still an issue on 10.1.24
Mapbox Implementation
Mapbox
Mapbox Version
11.1.0
React Native Version
0.72.6
Platform
iOS
@rnmapbox/maps
version10.1.13
Standalone component to reproduce
MapboxGL.Camera.zoomTo seems to be broken, it tries to call setCamera without centerCoordinate and without bounds which are required in RNMBXCamera.swift
https://github.com/rnmapbox/maps/blob/main/ios/RNMBX/RNMBXCamera.swift#L402 https://github.com/rnmapbox/maps/blob/main/ios/RNMBX/RNMBXCamera.swift#L425
With both props missing the camera check will make it return without zooming. https://github.com/rnmapbox/maps/blob/main/ios/RNMBX/RNMBXCamera.swift#L464
Observed behavior and steps to reproduce
Nothing is happening when calling zoomTo
Expected behavior
zooming should work
Notes / preliminary analysis
No response
Additional links and references
No response