SymbolPlacement

enum SymbolPlacement : Enum<SymbolPlacement> , LayerProperty

Label placement relative to its geometry.

Parameters

value

String value of this property

Entries

LINE_CENTER
Link copied to clipboard
LINE_CENTER("line-center")

The label is placed at the center of the line of the geometry. Can only be used on LineString and Polygon geometries. Note that a single feature in a vector tile may contain multiple line geometries.

LINE
Link copied to clipboard
LINE("line")

The label is placed along the line of the geometry. Can only be used on LineString and Polygon geometries.

POINT
Link copied to clipboard
POINT("point")

The label is placed at the point where the geometry is located.

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