NSValue(MGLLineStyleLayerAdditions)
@interface NSValue (MGLLineStyleLayerAdditions)
Methods for wrapping an enumeration value for a style layer attribute in an MGLLineStyleLayer
object and unwrapping its raw value.
Working with Line Style Layer Attribute Values
+valueWithMGLLineCap:
Creates a new value object containing the given MGLLineCap
enumeration.
Declaration
Objective-C
+ (nonnull instancetype)valueWithMGLLineCap:(MGLLineCap)lineCap;
Swift
convenience init(mglLineCap lineCap: MGLLineCap)
Parameters
lineCap
The value for the new object.
Return Value
A new value object that contains the enumeration value.
MGLLineCapValue
The MGLLineCap
enumeration representation of the value.
Declaration
Objective-C
@property (atomic, readonly) MGLLineCap MGLLineCapValue;
Swift
var mglLineCapValue: MGLLineCap { get }
+valueWithMGLLineJoin:
Creates a new value object containing the given MGLLineJoin
enumeration.
Declaration
Objective-C
+ (nonnull instancetype)valueWithMGLLineJoin:(MGLLineJoin)lineJoin;
Swift
convenience init(mglLineJoin lineJoin: MGLLineJoin)
Parameters
lineJoin
The value for the new object.
Return Value
A new value object that contains the enumeration value.
MGLLineJoinValue
The MGLLineJoin
enumeration representation of the value.
Declaration
Objective-C
@property (atomic, readonly) MGLLineJoin MGLLineJoinValue;
Swift
var mglLineJoinValue: MGLLineJoin { get }
+valueWithMGLLineTranslationAnchor:
Creates a new value object containing the given MGLLineTranslationAnchor
enumeration.
Declaration
Objective-C
+ (nonnull instancetype)valueWithMGLLineTranslationAnchor:
(MGLLineTranslationAnchor)lineTranslationAnchor;
Swift
convenience init(mglLineTranslationAnchor lineTranslationAnchor: MGLLineTranslationAnchor)
Parameters
lineTranslationAnchor
The value for the new object.
Return Value
A new value object that contains the enumeration value.
MGLLineTranslationAnchorValue
The MGLLineTranslationAnchor
enumeration representation of the value.
Declaration
Objective-C
@property (atomic, readonly)
MGLLineTranslationAnchor MGLLineTranslationAnchorValue;
Swift
var mglLineTranslationAnchorValue: MGLLineTranslationAnchor { get }
iOS SDK
Examples
SDK JS Reference
- Annotations
- Appendices
- NSExpression(MGLAdditions)
- NSValue(MGLAdditions)
- NSValue(MGLCircleStyleLayerAdditions)
- NSValue(MGLFillExtrusionStyleLayerAdditions)
- NSValue(MGLFillStyleLayerAdditions)
- NSValue(MGLHillshadeStyleLayerAdditions)
- NSValue(MGLLineStyleLayerAdditions)
- NSValue(MGLRasterStyleLayerAdditions)
- NSValue(MGLSymbolStyleLayerAdditions)
- MGLAccountManager
- MGLAnnotationImage
- MGLAnnotationView
- MGLAttributedExpression
- MGLAttributionInfo
- MGLBackgroundStyleLayer
- MGLCircleStyleLayer
- MGLClockDirectionFormatter
- MGLCompassButton
- MGLCompassDirectionFormatter
- MGLComputedShapeSource
- MGLCoordinateFormatter
- MGLDistanceFormatter
- MGLFillExtrusionStyleLayer
- MGLFillStyleLayer
- MGLForegroundStyleLayer
- MGLHeatmapStyleLayer
- MGLHillshadeStyleLayer
- MGLImageSource
- MGLLight
- MGLLineStyleLayer
- MGLLoggingConfiguration
- MGLMapCamera
- MGLMapSnapshot
- MGLMapSnapshotOptions
- MGLMapSnapshotOverlay
- MGLMapSnapshotter
- MGLMapView
- MGLMultiPoint
- MGLMultiPolygon
- MGLMultiPolyline
- MGLNetworkConfiguration
- MGLOfflinePack
- MGLOfflineStorage
- MGLPointAnnotation
- MGLPointCollection
- MGLPolygon
- MGLPolyline
- MGLRasterStyleLayer
- MGLRasterTileSource
- MGLShape
- MGLShapeCollection
- MGLShapeOfflineRegion
- MGLShapeSource
- MGLSource
- MGLStyle
- MGLStyleLayer
- MGLSymbolStyleLayer
- MGLTilePyramidOfflineRegion
- MGLTileSource
- MGLUserLocation
- MGLUserLocationAnnotationView
- MGLUserLocationAnnotationViewStyle
- MGLVectorStyleLayer
- MGLVectorTileSource
- MGLAnnotationVerticalAlignment
- MGLAnnotationViewDragState
- MGLAttributionInfoStyle
- MGLCirclePitchAlignment
- MGLCircleScaleAlignment
- MGLCircleTranslationAnchor
- MGLDEMEncoding
- MGLErrorCode
- MGLFillExtrusionTranslationAnchor
- MGLFillTranslationAnchor
- MGLHillshadeIlluminationAnchor
- MGLIconAnchor
- MGLIconPitchAlignment
- MGLIconRotationAlignment
- MGLIconTextFit
- MGLIconTranslationAnchor
- MGLLightAnchor
- MGLLineCap
- MGLLineJoin
- MGLLineTranslationAnchor
- MGLLoggingLevel
- MGLMapDebugMaskOptions
- MGLOfflinePackState
- MGLOrnamentPosition
- MGLOrnamentVisibility
- MGLRasterResamplingMode
- MGLResourceKind
- MGLSymbolPlacement
- MGLSymbolZOrder
- MGLTextAnchor
- MGLTextJustification
- MGLTextPitchAlignment
- MGLTextRotationAlignment
- MGLTextTransform
- MGLTextTranslationAnchor
- MGLTextWritingMode
- MGLTileCoordinateSystem
- MGLUserTrackingMode
- Formatters
- Geometry
- Location Updates
- Maps
- Offline Maps
- Other Categories
- Other Classes
- Other Constants
- Other Enumerations
- Other Functions
- Other Protocols
- Other Structures
- Other Type Definitions
- Primitive Shapes
- MGLAnnotation
- MGLCalloutView
- MGLCalloutViewDelegate
- MGLCluster
- MGLComputedShapeSourceDataSource
- MGLFeature
- MGLLocationManager
- MGLLocationManagerDelegate
- MGLMapSnapshotterDelegate
- MGLMapViewDelegate
- MGLOfflineRegion
- MGLOfflineStorageDelegate
- MGLOverlay
- MGLStylable
- MGLCoordinateBounds
- MGLCoordinateQuad
- MGLCoordinateSpan
- MGLOfflinePackProgress
- MGLSphericalPosition
- MGLTransition
- Style Content
- Style Layers
- Style Primitives
- Styling the Map
- MGLCoordinateBounds
- MGLCoordinateQuad
- MGLCoordinateSpan
- MGLOfflinePackProgress
- MGLSphericalPosition
- MGLTransition
- User Interaction
- Customizing Fonts
- Information for Style Authors
- Gesture Recognizers
- Info.plist Keys
- Migrating to Expressions
- Predicates and expressions
- Tile URL Templates
- Working with GeoJSON Data