TGRHavoc / live_map

A FiveM addon for live maps
https://docs.tgrhavoc.co.uk/livemap-resource/
62 stars 38 forks source link

[question]: convert lat & lng back to GTA map coords #51

Closed casperiv0 closed 3 years ago

casperiv0 commented 3 years ago

Hi!

I'm trying to add blips to the in-game map but need to convert the lat and lng back to the GTAV map. Is there a way how todo that?

(When someone moves a blip on the live map, it will move it in-game)

Thanks!

TGRHavoc commented 3 years ago

Yeah. There is a way but, its not something I'm going to implement. The map isn't supposed to send data back to the server, its not designed that way. There's no security. If its allowed it can, and probably will, be abused.

This is one of the reasons I was looking forward to implementing sse. It would much better suite this resource. But, alas. Not possible in fivem :(

casperiv0 commented 3 years ago

Alright, no worries. Thanks for your reply!

TGRHavoc commented 3 years ago

No problem. Is it alright if I close this issue now?

casperiv0 commented 3 years ago

Yeah, feel free to close it