Replies: 2 comments
-
Sorry for the late reply! Anyways, you can find the (not so good) code to translate in-game coords to leaflet's lat-lang in the interface source code. You might be able to just reverse the operations used here to convert back to game-coords. Problem: they might not be accurate. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yeah, it doesn't seem to be very accurate. Unless I did some wrong calculation lol |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey!
This is somewhat related to #51. I've tried to convert the lat & lng from the
moveend
event in leaflet usingmap.project({ lat, lng })
but with no success. I think there is a simple solution but I can't come up with it, any suggestions how I could convert it?Example:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions