Jump to content
  • 0

Understanding Map Market Coords


Incar

Question

So I'm working on adding map markers for custom trader location and I'm a bit confused as to how the coordinates work.

 

position[]={5150.6099,71.601753,4862.3594};

 

The parts in black are the exact coordinates shown within admin debug, however the red parts after the decimal are more digits then debug displays, curious if this can be explained, if perhaps debug just limits what it shows and if more then 2 digits are required? As for the green, I'm assuming it's elevation since my gps shows 70, but is it important to have it higher then the actual land elevation or does it matter since it's just a map marker?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

the elevation doesn't matter for a map marker, any height is fine.

i don't know what debug you're using but it's showing rounded numbers, to save space on your screen most likely.

the numbers after the decimal aren't important at all, they just improve accuracy of the map marker. you can happily use the coords from the debug to place your markers,

the level of inaccuracy will never be more than 1 meter which isn't exactly a bad thing, i don't think anybody is checking ;)

Link to comment
Share on other sites

  • 0

the elevation doesn't matter for a map marker, any height is fine.

i don't know what debug you're using but it's showing rounded numbers, to save space on your screen most likely.

the numbers after the decimal aren't important at all, they just improve accuracy of the map marker. you can happily use the coords from the debug to place your markers,

the level of inaccuracy will never be more than 1 meter which isn't exactly a bad thing, i don't think anybody is checking ;)

The map markers are never directly on merchants anyway, lol. But yah, thanks for taking the time to answer, just wanted to avoid having to do multiple restarts because of issues.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...