wow, thats very buggy, not only if you zoom the polyline dont get
resized and the pause button dont work (at least in chrome)....na it
even api V2...wtf?

On.... 29 Jan., 17:44, mackopu <webmas...@iszos.cz> wrote:
> OK. Finally I solved it as follows:
>
>   var dd = 0;
>
>   function animate(d) {
>     ...
>     dd = d;
>     ...
>   }
>
>   function toggleAnimation(dd) {
>     if(!jStop) {
>       jStop = true;
>       document.getElementById("togglepause").value = "Play";
>     } else {
>       jStop = false;
>       document.getElementById("togglepause").value = "Pause";
>       animate(dd);
>     }
>   }
>
> Complete example is here:http://gpssecurity.iszos.cz/gpstrack_2.php?id=3
>
> Ask me please how to re-run the animation after it ends. I know that's
> difficult, but it fails to resolve.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to