Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Index

Enumeration Members

OPTIONAL_AND_HIDES_LOWER_PRIORITY: "OPTIONAL_AND_HIDES_LOWER_PRIORITY"

Display the marker only if it does not overlap with other markers. If two markers of this type would overlap, the one with the higher zIndex is shown. If they have the same zIndex, the one with the lower vertical screen position is shown.

REQUIRED: "REQUIRED"

Always display the marker regardless of collision. This is the default behavior.

REQUIRED_AND_HIDES_OPTIONAL: "REQUIRED_AND_HIDES_OPTIONAL"

Always display the marker regardless of collision, and hide any OPTIONAL_AND_HIDES_LOWER_PRIORITY markers or labels that would overlap with the marker.

Generated using TypeDoc