SymbolSortKey

Sorts features in ascending order based on this value. Features with lower sort keys are drawn and placed first. When icon-allow-overlap or text-allow-overlap is false, features with a lower sort key will have priority during placement. When icon-allow-overlap or text-allow-overlap is set to true, features with a higher sort key will overlap over features with a lower sort key.

Parameters

value

the property wrapped in Value to be used with native renderer.

Constructors

Link copied to clipboard
fun SymbolSortKey(value: Double)

Construct the SymbolSortKey with Double.

Link copied to clipboard
fun SymbolSortKey(expression: Expression)

Construct the SymbolSortKey with Mapbox Expression.

Link copied to clipboard
fun SymbolSortKey(value: Value)

Types

Link copied to clipboard
object Companion

Public companion object.

Properties

Link copied to clipboard