SymbolPlacement

public enum SymbolPlacement : String, Codable, CaseIterable

Label placement relative to its geometry.

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

    Declaration

    Swift

    case point = "point"
  • The label is placed along the line of the geometry. Can only be used on LineString and Polygon geometries.

    Declaration

    Swift

    case line = "line"
  • 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.

    Declaration

    Swift

    case lineCenter = "line-center"