I can’t imagine the animation using the Google Maps API. It plays the animation for the first time, but will not play after that.
Can someone point me in the right direction? I have a lot of code in this file, so I pulled out the important bits, I will be happy to come up with something else if necessary.
var marker = new google.maps.MarkerImage( 'library/img/gmap_marker.gif', new google.maps.Size(100, 100), new google.maps.Point(0, 0), new google.maps.Point(100, 100) ); var shadow = new google.maps.MarkerImage( 'library/img/gmap_shadow.png', new google.maps.Size(100, 100), new google.maps.Point(0, 0), new google.maps.Point(100, 100) ); // set the personmarker var person = new google.maps.Marker({ position: currentPos, icon: marker, draggable: false, raiseOnDrag: false, shadow: shadow, animation: google.maps.Animation.DROP, map: app.map, optimized: false });
javascript google-maps-api-3 google-maps-markers
gazzwi86
source share