MGLOrnamentPosition
enum MGLOrnamentPosition : NSUInteger {}
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 = 0Swift
case topLeft = 0 -
Place the ornament in the top right of the map view.
Declaration
Objective-C
MGLOrnamentPositionTopRightSwift
case topRight = 1 -
Place the ornament in the bottom left of the map view.
Declaration
Objective-C
MGLOrnamentPositionBottomLeftSwift
case bottomLeft = 2 -
Place the ornament in the bottom right of the map view.
Declaration
Objective-C
MGLOrnamentPositionBottomRightSwift
case bottomRight = 3
Install in Dash
MGLOrnamentPosition Enumeration Reference