-
Declaration
Swift
public var id: String
-
Declaration
Swift
public let type: LayerType
-
Declaration
Swift
public var filter: Expression?
-
Declaration
Swift
public var source: String?
-
Declaration
Swift
public var sourceLayer: String?
-
Declaration
Swift
public var minZoom: Double?
-
Declaration
Swift
public var maxZoom: Double?
-
Whether this layer is displayed.
Declaration
Swift
public var visibility: Value<Visibility>?
-
Name of image in sprite to use as the middle of the location indicator.
Declaration
Swift
public var bearingImage: Value<ResolvedImage>?
-
Name of image in sprite to use as the background of the location indicator.
Declaration
Swift
public var shadowImage: Value<ResolvedImage>?
-
Name of image in sprite to use as the top of the location indicator.
Declaration
Swift
public var topImage: Value<ResolvedImage>?
-
The accuracy, in meters, of the position source used to retrieve the position of the location indicator.
Declaration
Swift
public var accuracyRadius: Value<Double>?
-
Transition options for
accuracyRadius
.Declaration
Swift
public var accuracyRadiusTransition: StyleTransition?
-
The color for drawing the accuracy radius border. To adjust transparency, set the alpha component of the color accordingly.
Declaration
Swift
public var accuracyRadiusBorderColor: Value<StyleColor>?
-
Transition options for
accuracyRadiusBorderColor
.Declaration
Swift
public var accuracyRadiusBorderColorTransition: StyleTransition?
-
The color for drawing the accuracy radius, as a circle. To adjust transparency, set the alpha component of the color accordingly.
Declaration
Swift
public var accuracyRadiusColor: Value<StyleColor>?
-
Transition options for
accuracyRadiusColor
.Declaration
Swift
public var accuracyRadiusColorTransition: StyleTransition?
-
The bearing of the location indicator.
Declaration
Swift
public var bearing: Value<Double>?
-
The size of the bearing image, as a scale factor applied to the size of the specified image.
Declaration
Swift
public var bearingImageSize: Value<Double>?
-
Transition options for
bearingImageSize
.Declaration
Swift
public var bearingImageSizeTransition: StyleTransition?
-
The color of the circle emphasizing the indicator. To adjust transparency, set the alpha component of the color accordingly.
Declaration
Swift
public var emphasisCircleColor: Value<StyleColor>?
-
Transition options for
emphasisCircleColor
.Declaration
Swift
public var emphasisCircleColorTransition: StyleTransition?
-
The radius, in pixel, of the circle emphasizing the indicator, drawn between the accuracy radius and the indicator shadow.
Declaration
Swift
public var emphasisCircleRadius: Value<Double>?
-
Transition options for
emphasisCircleRadius
.Declaration
Swift
public var emphasisCircleRadiusTransition: StyleTransition?
-
The displacement off the center of the top image and the shadow image when the pitch of the map is greater than 0. This helps producing a three-dimensional appearence.
Declaration
Swift
public var imagePitchDisplacement: Value<Double>?
-
An array of [latitude, longitude, altitude] position of the location indicator.
Declaration
Swift
public var location: Value<[Double]>?
-
Transition options for
location
.Declaration
Swift
public var locationTransition: StyleTransition?
-
The amount of the perspective compensation, between 0 and 1. A value of 1 produces a location indicator of constant width across the screen. A value of 0 makes it scale naturally according to the viewing projection.
Declaration
Swift
public var perspectiveCompensation: Value<Double>?
-
The size of the shadow image, as a scale factor applied to the size of the specified image.
Declaration
Swift
public var shadowImageSize: Value<Double>?
-
Transition options for
shadowImageSize
.Declaration
Swift
public var shadowImageSizeTransition: StyleTransition?
-
The size of the top image, as a scale factor applied to the size of the specified image.
Declaration
Swift
public var topImageSize: Value<Double>?
-
Transition options for
topImageSize
.Declaration
Swift
public var topImageSizeTransition: StyleTransition?
-
The bearing transition of the location indicator.
Declaration
Swift
public var bearingTransition: StyleTransition?
-
Undocumented
Declaration
Swift
public init(id: String)
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Declaration
Swift
public init(from decoder: Decoder) throws