SymbolPlacement

enum SymbolPlacement : Enum<SymbolPlacement> , LayerProperty

Label placement relative to its geometry.

Parameters

value

String value of this property

Entries

Link copied to clipboard

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

Link copied to clipboard

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

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.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val value: String