SymbolSortOrder

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 sortKey.

Properties

Link copied to clipboard
const val Auto: String

Sorts symbols by sortKey if set. Otherwise, sorts symbols by their y-position relative to the viewport if iconAllowOverlap or textAllowOverlap is set to true or iconIgnorePlacement or textIgnorePlacement is false.

Link copied to clipboard
const val Source: String

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

Link copied to clipboard
const val ViewportY: String

Sorts symbols by their y-position relative to the viewport if iconAllowOverlap or textAllowOverlap is set to true or iconIgnorePlacement or textIgnorePlacement is false.