Get your own customer support community
 

Measure two point in flex

I recorded the coordinate of two point , and retrieve them to the Location value.
var loc:Location = NeoMap.map.pointLocation(new Point(NeoMap.mouseX, NeoMap.mouseY), NeoMap)

Distance.approxDictance Return value is always the same location! Where I am wrong?
var dic:Number = Distance.approxDistance(_localPointsArray.pop(), _localPointsArray.pop(), Distance.R_MILES);
 
sad I’m confused
Inappropriate?
1 person has this question

User_default_medium