SymbolZOrder

enum SymbolZOrder : Enum<SymbolZOrder> , LayerProperty

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.

Parameters

value

String value of this property

Entries

AUTO
Link copied to clipboard
AUTO("auto")
Sorts symbols by symbol sort key if set.
VIEWPORT_Y
Link copied to clipboard
VIEWPORT_Y("viewport-y")
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}.
SOURCE
Link copied to clipboard
SOURCE("source")
Sorts symbols by symbol sort key if set.

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
fun finalize()
getDeclaringClass
Link copied to clipboard
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
val name: String
ordinal
Link copied to clipboard
val ordinal: Int
value
Link copied to clipboard
open override val value: String
String value of this property