Set if the marker must be placed and will hide any OPTIONAL_AND_HIDES_LOWER_PRIORITY markers
or labels that would overlap with the marker.
Inherited Method Summary
From interface
java.lang.annotation.Annotation
abstract
Class<? extends Annotation>
annotationType()
abstract
boolean
equals(Object arg0)
abstract
int
hashCode()
abstract
String
toString()
Constants
public
static
final
int
OPTIONAL_AND_HIDES_LOWER_PRIORITY
Set if the marker may be replaced/overlapped by a required marker or replaced by an
OPTIONAL_AND_HIDES_LOWER_PRIORITY marker with higher priority.
Constant Value:
2
public
static
final
int
REQUIRED
Set if the marker must be placed and may be overlapped with other markers or labels. This is
the default behavior.
Constant Value:
0
public
static
final
int
REQUIRED_AND_HIDES_OPTIONAL
Set if the marker must be placed and will hide any OPTIONAL_AND_HIDES_LOWER_PRIORITY markers
or labels that would overlap with the marker. It may be overlapped with other required
markers.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-07 UTC."],[[["`Marker.CollisionBehavior` is a deprecated annotation used to define how markers behave during collisions."],["It offers three constants: `REQUIRED`, `REQUIRED_AND_HIDES_OPTIONAL`, and `OPTIONAL_AND_HIDES_LOWER_PRIORITY` to control marker display priority."],["`REQUIRED` is the default behavior, ensuring the marker is always placed, potentially overlapping others."],["`REQUIRED_AND_HIDES_OPTIONAL` prioritizes the marker, hiding lower-priority markers or labels it overlaps."],["`OPTIONAL_AND_HIDES_LOWER_PRIORITY` allows the marker to be replaced by higher-priority markers."]]],[]]