Marker Animation not working on Google Maps API?

二次信任 提交于 2019-12-02 09:28:33

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!