On Aug 2, 9:00 am, Gearóid <[email protected]> wrote: > > >Ha, sorry - I forgot to specify all points *along a straight line that > > >connect* 2 coordinates. But yeah, say along a poly / path.
That is still an infinite number. What reduces it to a managable number is specifying points at a specific interval. > > > Or thishttp://econym.org.uk/gmap/dist.htm > > Thanks Ralph. I'm using that function to calculate the distance > between 2 points, but I can't see how I could use it to return all the > actual points along that distance... You can use the epoly method I suggested earlier to return points every 10 meters, or every meter, depending on how many points you want. There have been examples of "mile marker" (and "kilometer marker") applications posted to this list in the past. Perhaps we should ask what you are trying to do. If you are trying to draw a straight polyline, all you need are the 2 points. -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
