-
Notifications
You must be signed in to change notification settings - Fork 1.3k
update Transform geo/screen conversions for tilt #2139
Comments
|
Right, this is not just cosmetic. |
Per chat, it's unclear if |
Gesture improvements are finished in https://github.com/mapbox/mapbox-gl-native/commits/perspective-continued
|
Is above and/or anything else here still actionable @ansis? |
This is still actionable: |
Just a clarification question here — does the fact that MapKit doesn’t use perspective, but just simple tilt, behave differently in this regard? I wonder if MKMapRect etc. automatically account for tilt. |
@incanus is it possible to share what's the difference between Mapbox perspective and Map kit tilt and why one picks over the other? |
The perspective-continued branch appears to have been deleted. @ansis, can you re-push your work towards this issue? Or is that now covered by the perspective-improved-gestures branch? Thanks. |
I have re-pushed |
I don’t think that was the tip of perspective-continued. Hopefully @ansis has the fixes described in #2139 (comment) around locally still. |
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions. |
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 thatpitch
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
The text was updated successfully, but these errors were encountered: