Skip to content Skip to sidebar Skip to footer

Marker Animation Not Working On Google Maps API?

I want to animate a marker on a route defined between a source and a destination. I got a working example code to understand but it does not seem to be working. When i click on St

Solution 1:

You are using the deprecated (and turned off) Google Maps Javascript API v2:

 <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=false" type="text/javascript"></script>

That is currently being replaced by a wrapper for the Google Maps Javascript API v3. It will only work for simple maps.

And update to the v3 version of epoly, this is the v2 version (unless you modified it yourself).

<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>        

example of animating a marker in v3


Post a Comment for "Marker Animation Not Working On Google Maps API?"