mapbox / mapbox-maps-flutter

Interactive, thoroughly customizable maps for Flutter powered by Mapbox Maps SDK
https://www.mapbox.com/mobile-maps-sdk
Other
269 stars 103 forks source link

bug! onTapListener gets a ScreenCoordinate which should be in pixel units but its giving in longitude and latitude units instead! #190

Open ember11498 opened 1 year ago

ember11498 commented 1 year ago

i want to use ScreenBox to queryfeatures i was using onTapListener to know where the user taps on the screen, unfortunately it seems there is a bug and ScreeCoordinates are actual map coordinates instead of pixel coordinates!

remilejeune2 commented 1 year ago

Hey. In issue #188 you will find some code to convert the longitude and latitude to screen coordinates.

evil159 commented 3 months ago

This should be addressed by https://github.com/mapbox/mapbox-maps-flutter/pull/473

noforeignland commented 3 months ago

This is still a problem in April 2024 - is #473 going to be merged in the next realese?