If you would like to upvote the priority of this issue, please comment below or react on the original post above with :+1: so we can see what is popular when we triage.
@bobby-fi Thank you for opening this issue. 🙏
Please check out these other resources that might help you get to a resolution in the meantime:
Environment details
16.x
,17.x
)8.4.0
Steps to reproduce
When using
GMSMapView.projection.point(for:)
:Sometimes seeing incorrect values for the calculated projected points
Scenarios:
All scenarios are using these coordinates for projection calculations:
Scenario 1: No tilt, projections are correct
Info:
camera.zoom
: 21.0camera.bearing
: 0.0camera.viewingAngle
: 0.0projection.visibleRegion()
:Projections (
GMSMapView.projection.point(for: _coordinate_)
):Scenario 2: Some tilt, projections are still correct
Info:
camera.zoom
: 21.0camera.bearing
: 0.0camera.viewingAngle
: 5.27223109279046projection.visibleRegion()
:Projections (
GMSMapView.projection.point(for: _coordinate_)
):Scenario 3: More tilt, projections are giving invalid screen positions
Info:
camera.zoom
: 21.0camera.bearing
: 0.0camera.viewingAngle
: 13.7222311799457projection.visibleRegion()
:Projections (
GMSMapView.projection.point(for: _coordinate_)
):note the last calculated projections with incorrect values:
1.1342744887950962e+38
appears to be some sort of overflow, since
1.1342744887950962e+38
is always returned in similar scenarios