-
-
Notifications
You must be signed in to change notification settings - Fork 860
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
How to show Marker (convert pixel to latitude and longitude) based on X Y pixel on fixed size map? #981
Comments
You can use a version of a formula available at https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames, but try using the built in CRS methods. Specifically you'll need You may want to check out this comment and the surrounding thread: #941 (comment) |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
…nt (#1115) * Added MapController.pointToLatLng() to get LatLng of given screen point Ref #496, ref #607, ref #981, ref #1010 * Better pointToLatLng example * dartfmt * Fix zoom breaking pointToLatLng() * Updated example to help fix the rotation issue * Rebased on latest * Fix pointToLatLng with rotation * Fix trailing lines (3x attempts) Co-authored-by: Polo <gitpjp@pm.me> and ibrierley
I have a map size
1024x1024
, and a point in the position x671
, y560
So what formula to get latitude and longitude of that point to show the Marker?
Pls help me, this is the full code:
The text was updated successfully, but these errors were encountered: