如何在路线上设置自定义Google地图标记的动画效果? [英] How to animate a custom Google Maps marker along a route?
本文介绍了如何在路线上设置自定义Google地图标记的动画效果?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经为使用JavaScript和Google Maps API的手持设备编写了一个小应用程序,现在II需要使用计时器功能沿路线将地图标记图标移动到地图上的任何位置。我有一个男人图标,我需要在地图上自动移动它。我怎样才能做到这一点?
解决方案
http://www.kmcgraphics.com/google/
I have written a small application for a handheld device using JavaScript and Google Maps API's, now II need to move my marker icon anywhere on the map along a route using a timer function. I have a man icon and I need to move it automatically on the map. How can I do this?
解决方案
A pretty cool example is here:
http://www.kmcgraphics.com/google/
这篇关于如何在路线上设置自定义Google地图标记的动画效果?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文