-
Notifications
You must be signed in to change notification settings - Fork 502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting screen point by latlng of the map. #402
Comments
https://github.com/softmarshmallow/flutter-mapbox-gl |
@softmarshmallow #380 adds methods to convert between screen coordinates and geographic coordinates. |
@softmarshmallow Also, I'd be very interested to hear if you manage to achieve a good performance with your approach, as I haven't tried this myself. |
@m0nac0 Oh.. LOL i was working on the samethig. |
i don't see any updates related to map movement callback @m0nac0 |
This is what I meant:
The cameraPosition describes what is visible on the map. |
@softmarshmallow Ah sorry, I misunderstood that. Have you tried listening to |
How exactly can i "listen" to |
not getting the performance i want TT.. marker follows late by apx. 15 fps i think toScreenPoint should be implmeneted with dart nativly, the latency is crazy. not usable for live updates. |
Just like with the cameraPosition property; MapboxMapController will notify its listeners also on changes to the isCameraMoving property. |
tried it, cannot get the desired performance. related: #408 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@softmarshmallow did you ever have any success with a super animated marker? Currently I am working on implementing a similar solution as you described above but am concerned about the performance hits. Thanks! |
I'm trying to implement super animated marker, which cannot done with mapbox marker (symbol).
I have to display flutter widget on different layer than inside the map, but it should look sticked to the specific latlng (obviously,).
on fullscreen map, how can i get the screen position of specific latlng, and get it by event or etc in order to update the marker widget's position on the screen?
it can done on mapbox web, i'm not sure such callback / feature is implemented on this project.
thanks!!
The text was updated successfully, but these errors were encountered: