iOS SDK
Tutorials
API Reference
- MGLTileCoordinateSystem
- MGLComputedShapeSource
- MGLSphericalPosition
- MGLUserLocationAnnotationViewStyle
- MGLDistanceFormatter
- MGLStyleLayer
- MGLMapDebugMaskOptions
- MGLSymbolZOrder
- MGLShape
- MGLLineTranslationAnchor
- MGLMultiPoint
- MGLOfflinePack
- Style Primitives
- MGLMultiPolyline
- MGLTextAnchor
- Primitive Shapes
- MGLIconTranslationAnchor
- NSValue(MGLFillStyleLayerAdditions)
- MGLAnnotation
- NSExpression(MGLAdditions)
- MGLTextJustification
- MGLUserLocationAnnotationView
- MGLMultiPolygon
- MGLCircleStyleLayer
- MGLCoordinateSpan
- MGLNetworkConfiguration
- MGLTextWritingMode
- Other Enumerations
- MGLUserLocation
- MGLCalloutView
- MGLAttributedExpression
- MGLImageSource
- MGLOfflinePackProgress
- MGLIconAnchor
- MGLFillStyleLayer
- MGLFillTranslationAnchor
- Appendices
- MGLOfflinePackProgress
- MGLComputedShapeSourceDataSource
- NSValue(MGLLineStyleLayerAdditions)
- MGLStylable
- MGLRasterResamplingMode
- Geometry
- MGLPolygon
- Location Updates
- MGLClockDirectionFormatter
- NSValue(MGLFillExtrusionStyleLayerAdditions)
- MGLCoordinateSpan
- MGLCluster
- MGLErrorCode
- MGLAccountManager
- MGLForegroundStyleLayer
- MGLRasterTileSource
- MGLTextPitchAlignment
- MGLResourceKind
- MGLMapSnapshotterDelegate
- MGLAnnotationImage
- MGLHillshadeStyleLayer
- MGLOrnamentPosition
- MGLAnnotationViewDragState
- MGLDEMEncoding
- MGLSource
- MGLIconPitchAlignment
- MGLCalloutViewDelegate
- MGLVectorStyleLayer
- MGLRasterStyleLayer
- MGLLoggingConfiguration
- MGLLightAnchor
- Other Categories
- MGLTransition
- MGLLocationManager
- MGLLoggingLevel
- MGLTextTranslationAnchor
- MGLCompassButton
- MGLShapeSource
- NSValue(MGLRasterStyleLayerAdditions)
- MGLAnnotationVerticalAlignment
- MGLPolyline
- Maps
- MGLMapCamera
- MGLOfflineStorage
- Other Type Definitions
- MGLSphericalPosition
- MGLShapeCollection
- NSValue(MGLAdditions)
- Style Content
- MGLSymbolPlacement
- MGLTransition
- Other Classes
- MGLPointCollection
- MGLMapViewDelegate
- Style Layers
- MGLMapSnapshotOverlay
- MGLCoordinateQuad
- MGLTextTransform
- MGLOverlay
- MGLUserTrackingMode
- MGLTileSource
- MGLHillshadeIlluminationAnchor
- MGLTextRotationAlignment
- NSValue(MGLHillshadeStyleLayerAdditions)
- MGLOfflinePackState
- Formatters
- MGLLocationManagerDelegate
- MGLAttributionInfoStyle
- MGLBackgroundStyleLayer
- Styling the Map
- MGLCoordinateBounds
- MGLFillExtrusionTranslationAnchor
- Offline Maps
- MGLCoordinateFormatter
- MGLOrnamentVisibility
- MGLStyle
- MGLFeature
- MGLOfflineRegion
- MGLMapView
- MGLShapeOfflineRegion
- Other Structures
- MGLCirclePitchAlignment
- NSValue(MGLCircleStyleLayerAdditions)
- MGLMapSnapshot
- MGLFillExtrusionStyleLayer
- MGLCoordinateQuad
- MGLMapSnapshotOptions
- Other Protocols
- MGLLineCap
- MGLSymbolStyleLayer
- Other Functions
- MGLCircleTranslationAnchor
- MGLLineJoin
- MGLAnnotationView
- MGLCircleScaleAlignment
- MGLPointAnnotation
- MGLMapSnapshotter
- MGLLineStyleLayer
- MGLAttributionInfo
- MGLCompassDirectionFormatter
- MGLCoordinateBounds
- MGLTilePyramidOfflineRegion
- MGLIconRotationAlignment
- MGLIconTextFit
- Other Constants
- NSValue(MGLSymbolStyleLayerAdditions)
- Annotations
- MGLLight
- MGLHeatmapStyleLayer
- MGLOfflineStorageDelegate
- MGLVectorTileSource
- User Interaction
On This Page
MGLUserLocationAnnotationViewStyle
@interface MGLUserLocationAnnotationViewStyle : NSObject
A class containing information about the default User Location annotation view style.
puckFillColor
The fill color for the puck view.
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite)
UIColor *_Nonnull puckFillColor;
Swift
var puckFillColor: UIColor { get set }
puckShadowColor
The shadow color for the puck view.
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite)
UIColor *_Nonnull puckShadowColor;
Swift
var puckShadowColor: UIColor { get set }
puckShadowOpacity
The shadow opacity for the puck view. Set any value between 0.0 and 1.0. The default value of this property is equal to 0.25
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite)
CGFloat puckShadowOpacity;
Swift
var puckShadowOpacity: CGFloat { get set }
puckArrowFillColor
The fill color for the arrow puck.
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite)
UIColor *_Nonnull puckArrowFillColor;
Swift
var puckArrowFillColor: UIColor { get set }
haloFillColor
The fill color for the puck view.
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite)
UIColor *_Nonnull haloFillColor;
Swift
var haloFillColor: UIColor { get set }
approximateHaloFillColor
The halo fill color for the approximate view.
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite)
API_AVAILABLE(ios(14)) UIColor *approximateHaloFillColor;
Swift
var approximateHaloFillColor: UIColor { get set }
approximateHaloBorderColor
The halo border color for the approximate view.
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite)
API_AVAILABLE(ios(14)) UIColor *approximateHaloBorderColor;
Swift
var approximateHaloBorderColor: UIColor { get set }
approximateHaloBorderWidth
The halo border width for the approximate view. The default value of this property is equal to 2.0
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite)
CGFloat approximateHaloBorderWidth;
Swift
var approximateHaloBorderWidth: CGFloat { get set }
approximateHaloOpacity
The halo opacity for the approximate view. Set any value between 0.0 and 1.0 The default value of this property is equal to 0.15
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite)
CGFloat approximateHaloOpacity;
Swift
var approximateHaloOpacity: CGFloat { get set }