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 }
iOS SDK
Examples
SDK JS Reference
- MGLAnnotationImage
- MGLErrorCode
- MGLNetworkConfiguration
- MGLCircleStyleLayer
- MGLUserTrackingMode
- MGLTransition
- MGLCoordinateFormatter
- MGLImageSource
- MGLOrnamentPosition
- MGLAnnotation
- Other Type Definitions
- MGLAnnotationViewDragState
- NSValue(MGLCircleStyleLayerAdditions)
- MGLPolyline
- MGLCoordinateQuad
- MGLDEMEncoding
- Styling the Map
- MGLAttributionInfoStyle
- MGLTextTranslationAnchor
- MGLSymbolPlacement
- MGLOfflineStorage
- MGLHillshadeStyleLayer
- Other Functions
- MGLCompassButton
- MGLAttributionInfo
- MGLHeatmapStyleLayer
- Other Categories
- MGLSphericalPosition
- MGLCirclePitchAlignment
- User Interaction
- Location Updates
- MGLSphericalPosition
- Offline Maps
- MGLSymbolZOrder
- MGLIconRotationAlignment
- MGLLightAnchor
- MGLLocationManagerDelegate
- MGLAttributedExpression
- MGLLight
- MGLStyleLayer
- NSExpression(MGLAdditions)
- MGLAccountManager
- MGLShapeOfflineRegion
- Geometry
- MGLHillshadeIlluminationAnchor
- Info.plist Keys
- MGLBackgroundStyleLayer
- MGLSource
- MGLSymbolStyleLayer
- MGLResourceKind
- MGLCoordinateSpan
- MGLOrnamentVisibility
- NSValue(MGLFillExtrusionStyleLayerAdditions)
- NSValue(MGLHillshadeStyleLayerAdditions)
- MGLOfflineStorageDelegate
- MGLCluster
- Appendices
- MGLUserLocationAnnotationViewStyle
- NSValue(MGLLineStyleLayerAdditions)
- MGLStyle
- MGLMapSnapshotterDelegate
- MGLTextWritingMode
- MGLRasterResamplingMode
- MGLUserLocation
- MGLOfflinePackProgress
- MGLFillExtrusionTranslationAnchor
- MGLForegroundStyleLayer
- MGLLoggingConfiguration
- MGLTilePyramidOfflineRegion
- MGLRasterTileSource
- MGLAnnotationView
- Working with GeoJSON Data
- MGLVectorStyleLayer
- MGLMapSnapshotOptions
- MGLMapViewDelegate
- MGLMapDebugMaskOptions
- MGLMapSnapshotOverlay
- MGLIconTranslationAnchor
- Other Enumerations
- Other Protocols
- MGLTextRotationAlignment
- MGLUserLocationAnnotationView
- MGLTextPitchAlignment
- MGLCalloutViewDelegate
- Annotations
- MGLLineTranslationAnchor
- MGLShapeSource
- NSValue(MGLSymbolStyleLayerAdditions)
- MGLOfflinePackState
- MGLTextJustification
- Other Classes
- MGLMapSnapshotter
- MGLIconPitchAlignment
- MGLComputedShapeSource
- MGLRasterStyleLayer
- MGLCoordinateQuad
- MGLFeature
- MGLComputedShapeSourceDataSource
- MGLOfflineRegion
- MGLLineCap
- MGLLoggingLevel
- MGLFillExtrusionStyleLayer
- Style Content
- NSValue(MGLFillStyleLayerAdditions)
- NSValue(MGLRasterStyleLayerAdditions)
- MGLLocationManager
- MGLMapCamera
- MGLIconTextFit
- MGLLineStyleLayer
- MGLPointCollection
- MGLMultiPolygon
- MGLCircleTranslationAnchor
- Other Structures
- MGLFillStyleLayer
- MGLShapeCollection
- Primitive Shapes
- MGLTransition
- Information for Style Authors
- MGLLineJoin
- MGLPointAnnotation
- MGLTileSource
- MGLVectorTileSource
- MGLCoordinateBounds
- Gesture Recognizers
- NSValue(MGLAdditions)
- MGLCompassDirectionFormatter
- MGLIconAnchor
- Migrating to Expressions
- MGLPolygon
- MGLDistanceFormatter
- MGLFillTranslationAnchor
- MGLTextTransform
- MGLMultiPoint
- Customizing Fonts
- Maps
- MGLClockDirectionFormatter
- MGLCalloutView
- MGLTextAnchor
- MGLCircleScaleAlignment
- MGLCoordinateSpan
- MGLMapSnapshot
- MGLStylable
- MGLShape
- MGLOfflinePackProgress
- Style Primitives
- Predicates and expressions
- Formatters
- MGLMultiPolyline
- MGLTileCoordinateSystem
- MGLAnnotationVerticalAlignment
- MGLOverlay
- MGLCoordinateBounds
- Tile URL Templates
- MGLOfflinePack
- Style Layers
- MGLMapView
- Other Constants