You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently using fitToCoordinates on ios with apple maps. I am seeing an issue which occurs when calling fitToCoordinates initially with multiple coordinates and then only providing a single coordinate. When calling fitToCoordinates the first time with a single coordinate, the edge padding is not respected. Calling it another time uses the provided edge padding.
Summary
I am currently using fitToCoordinates on ios with apple maps. I am seeing an issue which occurs when calling fitToCoordinates initially with multiple coordinates and then only providing a single coordinate. When calling fitToCoordinates the first time with a single coordinate, the edge padding is not respected. Calling it another time uses the provided edge padding.
Screen.Recording.2024-02-13.at.19.33.16.mov
Reproducible sample code
Steps to reproduce
Expected result
Edge padding should be respected when calling fitToCoordinates with a single coordinate after calling it with multiple coordinates
Actual result
Edge padding is not respected
React Native Maps Version
1.10.2
What platforms are you seeing the problem on?
iOS (Apple Maps)
React Native Version
0.72.6
What version of Expo are you using?
Not using Expo
Device(s)
iPhone 14 Pro (16.4)
Additional information
No response
The text was updated successfully, but these errors were encountered: