Options
All
  • Public
  • Public/Protected
  • All
Menu

Animations that can be played on a marker. Use the google.maps.Marker.setAnimation method on Marker or the google.maps.MarkerOptions.animation option to play an animation.

Access by calling const {Animation} = await google.maps.importLibrary("marker"). See https://developers.google.com/maps/documentation/javascript/libraries.

Index

Enumeration Members

Enumeration Members

BOUNCE: 0

Marker bounces until animation is stopped by calling google.maps.Marker.setAnimation with null.

DROP: 1

Marker drops from the top of the map to its final location. Animation will cease once the marker comes to rest and google.maps.Marker.getAnimation will return null. This type of animation is usually specified during creation of the marker.

Generated using TypeDoc