I have found a great example of server side distance calculation using
Haversine Formula which comes pretty close to GPolyline.getLength().

http://blog.codebrain.co.uk/post/2009/05/08/C-Distance-Between-Two-Postcodes.aspx


On Jul 27, 7:46 pm, Marc Lacoursière <[email protected]> wrote:
> Sorry, I meant a KML file.
>
> I have a <LineString> on which I would like to calculate the distance.
>
> On Jul 27, 7:36 pm, Andrew Leach <[email protected]>
> wrote:
>
>
>
> > On Jul 28, 12:28 am, Marc Lacoursière <[email protected]> wrote:
>
> > > Is it possible to do the same on a polyline in a file?
>
> > Er... not sure what you mean by that. Read the line using the API (you
> > don't need to add it to a map) and you can do what you like with it.
>
> > Andrew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to