SymbolPlacement

Label placement relative to its geometry.

enum SymbolPlacement : Enum<SymbolPlacement> , LayerProperty

Parameters

value

String value of this property

Entries

POINT
Link copied to clipboard

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

POINT("point")
LINE
Link copied to clipboard

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

LINE("line")
LINE_CENTER
Link copied to clipboard

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_CENTER("line-center")

Functions

compareTo
Link copied to clipboard
operator override fun compareTo(other: SymbolPlacement): 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<SymbolPlacement>
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