MGLSymbolStyleLayerSymbolPlacement
enum MGLSymbolStyleLayerSymbolPlacement : NSUInteger {}
Label placement relative to its geometry.
-
The label is placed at the point where the geometry is located.
Declaration
Objective-C
MGLSymbolStyleLayerSymbolPlacementPoint
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
MGLSymbolStyleLayerSymbolPlacementLine
Swift
case line = 1