On Aug 2, 6:48 am, Gearóid <[email protected]> wrote:
> Hey,
>
> Quick one - how can I get all the points between 2 coordinates?

There are an infinite number...

>
> So, say I have (in Dublin, Ireland) the following 2 points, roughly
> 500 meters apart
>
> 53.321927613389185, -6.247444152832031
> 53.31856941172296, -6.242165565490723
>
> How can I populate and array with each point along a straight line
> route between the points?  Is this possible?

Use Mike Williams' epoly extension.
http://econym.org.uk/gmap/epoly.htm

.GetPointAtDistance(metres)
Returns the GLatLng of a point at the specified distance along the
path.

  -- Larry

>
> Thanks,
> Gearóid
--~--~---------~--~----~------------~-------~--~----~
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