OpenSource/Map
google maps - gif file animation 사용하기
linuxism
2012. 12. 13. 18:09
As I’m experimenting with Google Maps, I though I’d try out using animated gif as image markers on the map. There’s an option in the image marker which by default renders the image as static, called optimized. Need to change that to false and all is well.
1 2 3 4 5 | var marker = new google.maps.Marker({ position: latLng, map: map, optimized: false }); |
출처 - http://mkhairul.sembangprogramming.com/2011/08/20/google-maps-animated-gif-as-image-marker/