Specifica se l'indicatore può essere sostituito/sovrapposto da un indicatore obbligatorio o sostituito da un indicatore OPTIONAL_AND_HIDES_LOWER_PRIORITY con priorità più alta.
Imposta se l'indicatore deve essere posizionato per nascondere gli eventuali OPTIONAL_AND_HIDES_LOWER_PRIORITY indicatori o le etichette che si sovrappongono all'indicatore.
Riepilogo del metodo ereditato
Dall'interfaccia
java.lang.annotation.Annotation
astratto
Class<? extends Annotation>
annotationType()
valore booleano astratto
uguale a(Oggetto arg0)
int astratto
hashCode()
Stringa astratta
toString()
Costanti
pubblico
statico
int finale
OPTIONAL_AND_HIDES_LOWER_PRIORITY
Specifica se l'indicatore può essere sostituito/sovrapposto da un indicatore obbligatorio o sostituito da un indicatore OPTIONAL_AND_HIDES_LOWER_PRIORITY con priorità più alta.
Valore costante:
2
Public
static
final int
OBBLIGATORIO
Da impostare se l'indicatore deve essere posizionato e può essere sovrapposto ad altri indicatori o etichette. Questo è il comportamento predefinito.
Valore costante:
0
Public
static
final int
REQUIRED_AND_HIDES_OPTIONAL
Imposta se l'indicatore deve essere posizionato per nascondere gli eventuali OPTIONAL_AND_HIDES_LOWER_PRIORITY indicatori o le etichette che si sovrappongono all'indicatore. Potrebbe essere sovrapposto ad altri indicatori obbligatori.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-04-24 UTC."],[[["`Marker.CollisionBehavior` is an annotation that dictates how markers behave during collisions with other markers or map labels."],["It offers three collision behaviors: `REQUIRED`, `REQUIRED_AND_HIDES_OPTIONAL`, and `OPTIONAL_AND_HIDES_LOWER_PRIORITY`, controlling marker placement and visibility during overlaps."],["`REQUIRED` markers are always displayed, potentially overlapping others; `REQUIRED_AND_HIDES_OPTIONAL` markers are also always displayed but hide optional markers they overlap; `OPTIONAL_AND_HIDES_LOWER_PRIORITY` markers might be hidden by required markers or higher priority optional markers."],["By default, markers have `REQUIRED` collision behavior, meaning they will be displayed and may overlap with others."]]],[]]