DingiSymbolPlacement
enum DingiSymbolPlacement {}
Label placement relative to its geometry.
Values of this type are used in the DingiSymbolStyleLayer.symbolPlacement
property.
-
The label is placed at the point where the geometry is located.
Declaration
Objective-C
DingiSymbolPlacementPoint
Swift
case point = 0
-
The label is placed along the line of the geometry. Can only be used on
LineString
andPolygon
geometries.Declaration
Objective-C
DingiSymbolPlacementLine
Swift
case line = 1
-
The label is placed at the center of the line of the geometry. Can only be used on
LineString
andPolygon
geometries. Note that a single feature in a vector tile may contain multiple line geometries.Declaration
Objective-C
DingiSymbolPlacementLineCenter
Swift
case lineCenter = 2