On Jan 1, 5:28 am, Asaf <[email protected]> wrote: > hi, > i created polilyne (a great circle one) on my map between two points. > is there any way to get the GLatLng of some points in the middle of > the line? > say after 10%, or 15% etc. > like Aircraft radar > > thanks!
One way would be to use one of Mike Williams' epoly extensions: Part 12 Using EPoly - extra methods for polygons and polylines. http://econym.org.uk/gmap/epoly.htm Part 13 EPoly version 2 - the same but faster. http://econym.org.uk/gmap/epoly2.htm They add the following method to polylines: .GetPointAtDistance(metres) Returns the GLatLng of a point at the specified distance along the path. -- 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.
