Map Measuration Issues
I thing my measuration codes aren't precision. From Japen to China only 1300 KM, actually is 2200KM or more. How can fix this ?
/* store the location */
var loc:Location = NeoMap.map.pointLocation(new Point( map.mouseX, map.mouseY /* e.localX, e.localY */),map);
_locationPointsArray.push(loc);
_distance = Distance.approxDistance(_locationPointsArray.pop(), _locationPointsArray.pop(), Distance.R_MILES);
/* store the location */
var loc:Location = NeoMap.map.pointLocation(new Point( map.mouseX, map.mouseY /* e.localX, e.localY */),map);
_locationPointsArray.push(loc);
_distance = Distance.approxDistance(_locationPointsArray.pop(), _locationPointsArray.pop(), Distance.R_MILES);
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Distance.R_MILES means "give me the answer in miles".
Use Distance.R_KM to get answers in km.
Loading Profile...



EMPLOYEE