MGLOrnamentPosition
enum MGLOrnamentPosition {}
The position of scale bar, compass, logo and attribution in a map view. Used with
MGLMapView.scaleBarPosition
,
MGLMapView.compassViewPosition
,
MGLMapView.logoViewPosition
,
MGLMapView.attributionButtonPosition
.
-
Place the ornament in the top left of the map view.
Declaration
Objective-C
MGLOrnamentPositionTopLeft = 0
Swift
case topLeft = 0
-
Place the ornament in the top right of the map view.
Declaration
Objective-C
MGLOrnamentPositionTopRight
Swift
case topRight = 1
-
Place the ornament in the bottom left of the map view.
Declaration
Objective-C
MGLOrnamentPositionBottomLeft
Swift
case bottomLeft = 2
-
Place the ornament in the bottom right of the map view.
Declaration
Objective-C
MGLOrnamentPositionBottomRight
Swift
case bottomRight = 3