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
{{ message }}
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.
When there is a non zero camera pitch, convert(:CLLocationCoordinate2D, toPointTo:UIView?) returns totally incorrect CGPoint. When pitch is zero, it's working correctly.
Also zoom level seems to have some influence on this bug. As well as location of camera relative to coordinates.
Steps to reproduce
Here is a sample project representing an issue with 100% reproduce rate
Expected behavior
Correctly converted point on view from coordinates even with non zero pitch
Ogerets
changed the title
convert(CLLocationCoordinate2D to: UIView) doesn't work correctly with non zero camera pitch
convert(CLLocationCoordinate2D toPointTo: UIView?) doesn't work correctly
Oct 22, 2021
When there is a non zero camera pitch,
convert(:CLLocationCoordinate2D, toPointTo:UIView?)
returns totally incorrect CGPoint. When pitch is zero, it's working correctly.Also zoom level seems to have some influence on this bug. As well as location of camera relative to coordinates.
Steps to reproduce
Here is a sample project representing an issue with 100% reproduce rate
Expected behavior
Correctly converted point on view from coordinates even with non zero pitch
Actual behavior
Totally incorrectly calculated point on view
Configuration
Mapbox SDK versions: v6.4.0
iOS/macOS versions: 14.2
Device/simulator models: iPhone 6s
Xcode version: 12.5.1
The text was updated successfully, but these errors were encountered: