[OpenLayers-Users] what is the Point.distanceTo(Point) return
value??
Christopher Schmidt
crschmidt at metacarta.com
Thu Nov 29 15:16:19 EST 2007
On Thu, Nov 29, 2007 at 12:01:53PM -0800, plen wrote:
>
> Steve,
>
> Thanks for the response. It appears you are correct. I tried your
> calculation and it appears to be in miles now. I have a different (server
> side) algorithm for calculating the distance between two points and while
> both return a slightly different value, it is workable.
For non-trivial distances, you should probably use
OpenLayers.Util.distVincenty.
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Users
mailing list