Yes, it looks like an encoded polyline. See: http://code.google.com/intl/en/apis/maps/documentation/javascript/geometry.html#Encoding But that's just the blue line. The animation of the bus is contained in a section of javascript headed "animation functions" (if only I commented MY code that well) " (http://www.geocodezip.com/ track_pefa9e.asp) ".
Yes, that's our very own geocodezip, and a specific reference to one of his (Larry's) pages. The animation code in both pages is very well commented; you should have no trouble following the logic. - jeff On Jan 18, 7:28 am, john dingo <[email protected]> wrote: > http://www.lancashirebus.co.uk/times.jsp?routeID=90&iP_show=routes > > The above website has a animated google map. > I have looked at the source code and can understand the basic co-ordinates > used, however the route function seems to be coded > > As you can see its coded like this: > > var pathOut = > "uzqgI|doLvAdHr@fIAn@Kx@An@Dn@C^|@|ElBnFb@t@|DhE~@pA`BpC|A|DvB~IvDzRhAxDR\\ > Nh@j@`ALf@vBpEtEhL|@bBb@f@vAj@`B^|Ex@xCTxERzDMdAFdAZd@\\jBzBhClBp@XvBZbDNlD > ClOg@xg@kI~G]xHOtDHvDr@bFxC|Ap@NGNS`@qA`@STNpB`FvAnCnU|P`EpDfCnA|ELpAPp@_@| > @aAxBuDbDwBnCs@l@MvIK`@KT_@TGZd@B`@Ih@YRIdC~@PvBpCxAxBq@`CdBjBuBrGjA|AxI`N^ > ~@d@XHOXC\\XDRvAhCVr@RtBC~@a@fEAxANzAn@|BlCtFx@jA|@t@j@T~FnAnLrBrAOzFqAv@Dz > @ZdBtBh@`@~BlAnJlFT\\tGfEzGjD|Ar@vTlCfHn@dHTjUmAvJwBrCM|Ak@~@OvIz@bAf@dAvAp > BhDvMtVlGlJt@~AvAtEbDzKlAbF~@dHb@dEl@|Ch@jBdNp`@~D|K`A|BdAlA`DjCfKlGjIfFvCz > ApKxAhJt@xSfA~CJxBKhGuEnDkB|Bs@|CKt@RbBx@tDtCfC~Af@l@lEbDvBhCfCjBlAh@jBZzCM > ~@FjBn@|BpAlKpFtDrAlAH?m@?l@|@E`Be@|AsAzBeChDkB|Be@vG_A`FyAlB{@zCcBlByAz@w@ > j@_A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@GAC?AIAC@ > FCACBGAB@C@BAEACADA?CBHCCAC@BD@CAEA@DA@CEADDBBIBCCAABAFBBC@@?C@BF@B@D@BIACA > EBABDBFACAD@BLABAEB@ADABGAEACABDABIBC@EA@AD@B@DCAADAHCAEABCAEA@CBAAH@D@EABA > BDAFABADBAD@BHBDBFBAE@AACA@C@JAC@DACBB@CDBAFBCBEBCJBBDCBAEB@ACAEB@BAFAB?DC@ > FAADB@@B@B?FAB@ACABA@AAHAAD@F@AACA?H@DA@A@AAFEP";var pathIn = > > How can I create a similar animated map for a walking tour route? > It seems the code to create the route, ie, the blue lined route is in some > special code., > > There must be a way to create a similar kind of map but cant understand how, > anyone any ideas? > I did email the website creator but they will not reply. -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
