On Jun 23, 2:20 pm, rahul <[email protected]> wrote: > Thank you Mr.Andrew. But I think in the link u provided they are not > using the data from XML to draw and animate the marker through > polyline.
Yes it does. The data is read from GMdataAB_78465_2008-05-15.xml, and the line points are read and pushed on to an array called animatedLine. The line "poly" is created from that array. The functions "startAnimation" and "animate" move a marker along the line using the poly.getPointAtDistance() method. Using getPointAtDistance means that the number of points is reduced, and the marker moves a set proportion of the line at each step. getPointAtDistance is a method provided by Mike's EPoly extension. 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 -~----------~----~----~----~------~----~------~--~---
