-
Notifications
You must be signed in to change notification settings - Fork 509
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
I need the LatLng of the midpoint of the widget where I render the map. #361
Comments
@GULERTOLGA So you'd like to access the projection (LatLng of the corners of the currently displayed map section? Center of that should be relatively easy to calculate then. |
Yes, it can be calculated as you said, but it does not give the exact result. I think it is necessary to make geodetic calculations. I will place a positioned widget (a red circle as pointer) right in the middle of the map. The map will move under this widget. Cartesian coordinates and geographic coordinates will not match. |
@GULERTOLGA I'm not quite sure if I correctly understand your issue, unfortunately. Does calculating the center of |
@GULERTOLGA Got you. I have actually been working on a pixel <--> geographic coordinate conversion feature, I hope I'll be able to finish it in the next few weeks when I have more time. |
I want to make a precise drawing by sliding the map below this point.
The text was updated successfully, but these errors were encountered: