Template:Fragoria Map
From FragoriaWiki
(Difference between revisions)
Line 161: | Line 161: | ||
} | } | ||
} | } | ||
+ | |||
+ | function toggleBounce() { | ||
+ | if (marker.getAnimation() != null) { | ||
+ | marker.setAnimation(null); | ||
+ | } else { | ||
+ | marker.setAnimation(google.maps.Animation.BOUNCE); | ||
+ | } | ||
+ | } | ||
google.maps.event.addDomListener(window, 'load', initialize); | google.maps.event.addDomListener(window, 'load', initialize); |
Revision as of 23:41, 6 April 2015