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
- 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