Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

update Transform geo/screen conversions for tilt #2139

Description

@incanus

In #2116 we have a PR for tilt/pitch. However we have yet to update Transform::pixelForLatLng & Transform::latLngForPixel to actually use the matrix instead of just doing trig for center, zoom, and rotation, so that pitch can be factored in. As a result, we get things like the floating user dot on iOS and these conversions will be off for e.g. long-press marker drop gestures, too.

Note that we do already account for world wrap and the date line in the current routines.

/cc @ansis @friedbunny @1ec5

Metadata

Metadata

Assignees

No one assigned

    Labels

    CoreThe cross-platform C++ core, aka mbglMapKit parityFor feature parity with MapKit on iOS or macOSarchivedArchived because of inactivitybug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions