SymbolZOrder

Determines whether overlapping symbols in the same layer are rendered in the order that they appear in the data source or by their y-position relative to the viewport. To control the order and prioritization of symbols otherwise, use symbol-sort-key.

enum SymbolZOrder : Enum<SymbolZOrder> , LayerProperty

Parameters

value

String value of this property

Entries

AUTO
Link copied to clipboard

Sorts symbols by symbol sort key if set. Otherwise, sorts symbols by their y-position relative to the viewport if {@link ICON_ALLOW_OVERLAP} or {@link TEXT_ALLOW_OVERLAP} is set to {@link TRUE} or {@link ICON_IGNORE_PLACEMENT} or {@link TEXT_IGNORE_PLACEMENT} is {@link FALSE}.

AUTO("auto")
VIEWPORT_Y
Link copied to clipboard

Sorts symbols by their y-position relative to the viewport if {@link ICON_ALLOW_OVERLAP} or {@link TEXT_ALLOW_OVERLAP} is set to {@link TRUE} or {@link ICON_IGNORE_PLACEMENT} or {@link TEXT_IGNORE_PLACEMENT} is {@link FALSE}.

VIEWPORT_Y("viewport-y")
SOURCE
Link copied to clipboard

Sorts symbols by symbol sort key if set. Otherwise, no sorting is applied; symbols are rendered in the same order as the source data.

SOURCE("source")

Functions

compareTo
Link copied to clipboard
operator override fun compareTo(other: SymbolZOrder): Int
equals
Link copied to clipboard
operator override fun equals(other: Any?): Boolean
finalize
Link copied to clipboard
override fun finalize()
getDeclaringClass
Link copied to clipboard
override fun getDeclaringClass(): Class<SymbolZOrder>
hashCode
Link copied to clipboard
override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

name
Link copied to clipboard
override val name: String
ordinal
Link copied to clipboard
override val ordinal: Int
value
Link copied to clipboard

String value of this property

open override val value: String