[OpenLayers-Users] what is the Point.distanceTo(Point) return
value??
Linda Rawson
linda.rawson at gmail.com
Thu Nov 29 15:26:10 EST 2007
Thanks for another cool function. For those of us that have implemented
this on the server side this is great!
Linda
On Nov 29, 2007 1:16 PM, Christopher Schmidt <crschmidt at metacarta.com>
wrote:
> 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
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20071129/c7c9b163/attachment.html
More information about the Users
mailing list