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
When rotating/tilting a (vector) map using the Google Maps adapter, selection breaks. It seems like project and unproject in google-maps-adapter does not take rotation/tilting into account.
I did a quick test with replacing the project/unproject code with projection.fromLatLngToContainerPixel and projection.fromContainerPixelToLatLng which seems to work better, but I'm unsure if there's reasons not to use those instead of the custom projection code?
The text was updated successfully, but these errors were encountered:
Hey @anderswi - thanks for raising this. I haven't had a chance to experiment with Terra Draw + vector Google Maps. I can see why this would be an issue though.
I'd imagine that your observation about rotation and tilt not being take into account is correct. Let me see if I can find some time to investigate.
I think this is partially related to #23 as when you move to 3D rendering these types of issues are crop up.
Hey @anderswi thanks for this! Appreciate your input. Unfortunately I am on holiday until the 18th of September so won't be able to properly review this until then. When I'm back I will get straight on it.
When rotating/tilting a (vector) map using the Google Maps adapter, selection breaks. It seems like
project
andunproject
in google-maps-adapter does not take rotation/tilting into account.I did a quick test with replacing the project/unproject code with
projection.fromLatLngToContainerPixel
andprojection.fromContainerPixelToLatLng
which seems to work better, but I'm unsure if there's reasons not to use those instead of the custom projection code?The text was updated successfully, but these errors were encountered: