Contents

displayPriority

A numeric hint that the map uses to prioritize how it displays annotations.

Declaration

get displayPriority(): number;
set displayPriority(value: number);

Mentioned in

Discussion

Maps use the display priority as a hint to determine whether to display annotations at any given time. By default, the display priority is Required, which indicates the annotation always displays on the map.

Display priority can be any number from 0 to 1000. There are three preset values:

Maps ignores this value when collisionMode is None.

See Also

Getting and setting annotation appearance