I almost entirely agree with Inter FX which tends to be the norm here... why 
not just calculate it yourself rather than punching numbers into a black box 
and hoping that you get the right answer, plenty of people have had to solve 
this problem in the past (luckily we're not the first suckers to get stuck 
with working on maps :).

So yah here's how to calculate the distance
http://www.movable-type.co.uk/scripts/latlong.html
make sure when doing your translation/porting from javascript to 
actionscript you check out the atan2 function as the parameters may be 
flipped depending on the language/implementation.

I'd say the earth is round and is also a sphere :), it just depends on how 
you slice it:
4.
having a circular cross section, as a cylinder; cylindrical.
5.
spherical or globular, as a ball.

However I wouldn't say it's a "sphere" directly as that's what all this 
non-sense about radius and different standards for Lat/Lng are all about, 
depending on altitude away from the earths center (up on a mountain vs below 
sea level) you have a different radius and therefore a different sphere, 
further the earth is flattened by it's centrifugal force so the "sphere" is 
larger at the equator from my understanding.

http://www.cotf.edu/ete/modules/msese/earthsysflr/exact.html

Anyhow generally speaking I agree just roll your own function for this one.
Thanks,
Shaun

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-api-for-flash/-/v0-QdyDGiVUJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en.

Reply via email to