MGLIconAnchor
enum MGLIconAnchor {}
Part of the icon placed closest to the anchor.
Values of this type are used in the MGLSymbolStyleLayer.iconAnchor
property.
-
The center of the icon is placed closest to the anchor.
Declaration
Objective-C
MGLIconAnchorCenterSwift
case center = 0 -
The left side of the icon is placed closest to the anchor.
Declaration
Objective-C
MGLIconAnchorLeftSwift
case left = 1 -
The right side of the icon is placed closest to the anchor.
Declaration
Objective-C
MGLIconAnchorRightSwift
case right = 2 -
The top of the icon is placed closest to the anchor.
Declaration
Objective-C
MGLIconAnchorTopSwift
case top = 3 -
The bottom of the icon is placed closest to the anchor.
Declaration
Objective-C
MGLIconAnchorBottomSwift
case bottom = 4 -
The top left corner of the icon is placed closest to the anchor.
Declaration
Objective-C
MGLIconAnchorTopLeftSwift
case topLeft = 5 -
The top right corner of the icon is placed closest to the anchor.
Declaration
Objective-C
MGLIconAnchorTopRightSwift
case topRight = 6 -
The bottom left corner of the icon is placed closest to the anchor.
Declaration
Objective-C
MGLIconAnchorBottomLeftSwift
case bottomLeft = 7 -
The bottom right corner of the icon is placed closest to the anchor.
Declaration
Objective-C
MGLIconAnchorBottomRightSwift
case bottomRight = 8
Install in Dash
MGLIconAnchor Enumeration Reference