Closed casperiv0 closed 3 years ago
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.
Yeah, it doesn't seem to be very accurate. Unless I did some wrong calculation lol
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!