handheld

How to animate a custom Google Maps marker along a route?

不羁的心 提交于 2019-11-26 22:34:27
问题 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? 回答1: A pretty cool example is here: http://www.kmcgraphics.com/google/ 回答2: Unfortunately, there is no automatic-marker-movement function in the official GMaps collection. However, if you have a GRoute, that would mean you