Location Indicator Layer
@UiThread()
Content copied to clipboard
Location Indicator layer.
See also
Parameters
layerId
the ID of the layer
Constructors
LocationIndicatorLayer
Link copied to clipboard
the ID of the layer
Types
Functions
accuracyRadius
Link copied to clipboard
open override fun accuracyRadius(accuracyRadius: Expression): LocationIndicatorLayer
Content copied to clipboard
open override fun accuracyRadius(accuracyRadius: Double): LocationIndicatorLayer
Content copied to clipboard
accuracyRadiusBorderColor
Link copied to clipboard
open override fun accuracyRadiusBorderColor(accuracyRadiusBorderColor: Expression): LocationIndicatorLayer
Content copied to clipboard
open override fun accuracyRadiusBorderColor(@ColorInt() accuracyRadiusBorderColor: Int): LocationIndicatorLayer
Content copied to clipboard
open override fun accuracyRadiusBorderColor(accuracyRadiusBorderColor: String): LocationIndicatorLayer
Content copied to clipboard
accuracyRadiusBorderColorTransition
Link copied to clipboard
open override fun accuracyRadiusBorderColorTransition(options: StyleTransition): LocationIndicatorLayer
Content copied to clipboard
open override fun accuracyRadiusBorderColorTransition(block: StyleTransition.Builder.() -> Unit): LocationIndicatorLayer
Content copied to clipboard
DSL for accuracyRadiusBorderColorTransition.
accuracyRadiusColor
Link copied to clipboard
open override fun accuracyRadiusColor(accuracyRadiusColor: Expression): LocationIndicatorLayer
Content copied to clipboard
open override fun accuracyRadiusColor(@ColorInt() accuracyRadiusColor: Int): LocationIndicatorLayer
Content copied to clipboard
open override fun accuracyRadiusColor(accuracyRadiusColor: String): LocationIndicatorLayer
Content copied to clipboard
accuracyRadiusColorTransition
Link copied to clipboard
open override fun accuracyRadiusColorTransition(options: StyleTransition): LocationIndicatorLayer
Content copied to clipboard
open override fun accuracyRadiusColorTransition(block: StyleTransition.Builder.() -> Unit): LocationIndicatorLayer
Content copied to clipboard
DSL for accuracyRadiusColorTransition.
accuracyRadiusTransition
Link copied to clipboard
open override fun accuracyRadiusTransition(options: StyleTransition): LocationIndicatorLayer
Content copied to clipboard
open override fun accuracyRadiusTransition(block: StyleTransition.Builder.() -> Unit): LocationIndicatorLayer
Content copied to clipboard
DSL for accuracyRadiusTransition.
bearing
Link copied to clipboard
bearingImage
Link copied to clipboard
open override fun bearingImage(bearingImage: Expression): LocationIndicatorLayer
Content copied to clipboard
open override fun bearingImage(bearingImage: String): LocationIndicatorLayer
Content copied to clipboard
bearingImageSize
Link copied to clipboard
open override fun bearingImageSize(bearingImageSize: Expression): LocationIndicatorLayer
Content copied to clipboard
open override fun bearingImageSize(bearingImageSize: Double): LocationIndicatorLayer
Content copied to clipboard
bearingImageSizeTransition
Link copied to clipboard
open override fun bearingImageSizeTransition(options: StyleTransition): LocationIndicatorLayer
Content copied to clipboard
open override fun bearingImageSizeTransition(block: StyleTransition.Builder.() -> Unit): LocationIndicatorLayer
Content copied to clipboard
DSL for bearingImageSizeTransition.
bindTo
Link copied to clipboard
open override fun bindTo(delegate: StyleInterface, position: LayerPosition?)
Content copied to clipboard
emphasisCircleColor
Link copied to clipboard
open override fun emphasisCircleColor(emphasisCircleColor: Expression): LocationIndicatorLayer
Content copied to clipboard
open override fun emphasisCircleColor(@ColorInt() emphasisCircleColor: Int): LocationIndicatorLayer
Content copied to clipboard
open override fun emphasisCircleColor(emphasisCircleColor: String): LocationIndicatorLayer
Content copied to clipboard
emphasisCircleColorTransition
Link copied to clipboard
open override fun emphasisCircleColorTransition(options: StyleTransition): LocationIndicatorLayer
Content copied to clipboard
open override fun emphasisCircleColorTransition(block: StyleTransition.Builder.() -> Unit): LocationIndicatorLayer
Content copied to clipboard
DSL for emphasisCircleColorTransition.
emphasisCircleRadius
Link copied to clipboard
open override fun emphasisCircleRadius(emphasisCircleRadius: Expression): LocationIndicatorLayer
Content copied to clipboard
open override fun emphasisCircleRadius(emphasisCircleRadius: Double): LocationIndicatorLayer
Content copied to clipboard
emphasisCircleRadiusTransition
Link copied to clipboard
open override fun emphasisCircleRadiusTransition(options: StyleTransition): LocationIndicatorLayer
Content copied to clipboard
open override fun emphasisCircleRadiusTransition(block: StyleTransition.Builder.() -> Unit): LocationIndicatorLayer
Content copied to clipboard
DSL for emphasisCircleRadiusTransition.
imagePitchDisplacement
Link copied to clipboard
open override fun imagePitchDisplacement(imagePitchDisplacement: Expression): LocationIndicatorLayer
Content copied to clipboard
open override fun imagePitchDisplacement(imagePitchDisplacement: Double): LocationIndicatorLayer
Content copied to clipboard
location
Link copied to clipboard
open override fun location(location: List<Double>): LocationIndicatorLayer
Content copied to clipboard
locationTransition
Link copied to clipboard
open override fun locationTransition(options: StyleTransition): LocationIndicatorLayer
Content copied to clipboard
open override fun locationTransition(block: StyleTransition.Builder.() -> Unit): LocationIndicatorLayer
Content copied to clipboard
DSL for locationTransition.
maxZoom
Link copied to clipboard
minZoom
Link copied to clipboard
perspectiveCompensation
Link copied to clipboard
open override fun perspectiveCompensation(perspectiveCompensation: Expression): LocationIndicatorLayer
Content copied to clipboard
open override fun perspectiveCompensation(perspectiveCompensation: Double): LocationIndicatorLayer
Content copied to clipboard
shadowImage
Link copied to clipboard
open override fun shadowImage(shadowImage: Expression): LocationIndicatorLayer
Content copied to clipboard
open override fun shadowImage(shadowImage: String): LocationIndicatorLayer
Content copied to clipboard
shadowImageSize
Link copied to clipboard
open override fun shadowImageSize(shadowImageSize: Expression): LocationIndicatorLayer
Content copied to clipboard
open override fun shadowImageSize(shadowImageSize: Double): LocationIndicatorLayer
Content copied to clipboard
shadowImageSizeTransition
Link copied to clipboard
open override fun shadowImageSizeTransition(options: StyleTransition): LocationIndicatorLayer
Content copied to clipboard
open override fun shadowImageSizeTransition(block: StyleTransition.Builder.() -> Unit): LocationIndicatorLayer
Content copied to clipboard
DSL for shadowImageSizeTransition.
topImage
Link copied to clipboard
topImageSize
Link copied to clipboard
open override fun topImageSize(topImageSize: Expression): LocationIndicatorLayer
Content copied to clipboard
open override fun topImageSize(topImageSize: Double): LocationIndicatorLayer
Content copied to clipboard
topImageSizeTransition
Link copied to clipboard
open override fun topImageSizeTransition(options: StyleTransition): LocationIndicatorLayer
Content copied to clipboard
open override fun topImageSizeTransition(block: StyleTransition.Builder.() -> Unit): LocationIndicatorLayer
Content copied to clipboard
DSL for topImageSizeTransition.
visibility
Link copied to clipboard
open override fun visibility(visibility: Visibility): LocationIndicatorLayer
Content copied to clipboard
Properties
accuracyRadius
Link copied to clipboard
The accuracy, in meters, of the position source used to retrieve the position of the location indicator.
accuracyRadiusAsExpression
Link copied to clipboard
This is an Expression representation of "accuracy-radius".
accuracyRadiusBorderColor
Link copied to clipboard
The color for drawing the accuracy radius border.
accuracyRadiusBorderColorAsColorInt
Link copied to clipboard
The color for drawing the accuracy radius border.
accuracyRadiusBorderColorAsExpression
Link copied to clipboard
This is an Expression representation of "accuracy-radius-border-color".
accuracyRadiusBorderColorTransition
Link copied to clipboard
Transition options for AccuracyRadiusBorderColor.
accuracyRadiusColor
Link copied to clipboard
The color for drawing the accuracy radius, as a circle.
accuracyRadiusColorAsColorInt
Link copied to clipboard
The color for drawing the accuracy radius, as a circle.
accuracyRadiusColorAsExpression
Link copied to clipboard
This is an Expression representation of "accuracy-radius-color".
accuracyRadiusColorTransition
Link copied to clipboard
Transition options for AccuracyRadiusColor.
accuracyRadiusTransition
Link copied to clipboard
Transition options for AccuracyRadius.
bearingAsExpression
Link copied to clipboard
This is an Expression representation of "bearing".
bearingImage
Link copied to clipboard
Name of image in sprite to use as the middle of the location indicator.
bearingImageAsExpression
Link copied to clipboard
This is an Expression representation of "bearing-image".
bearingImageSize
Link copied to clipboard
The size of the bearing image, as a scale factor applied to the size of the specified image.
bearingImageSizeAsExpression
Link copied to clipboard
This is an Expression representation of "bearing-image-size".
bearingImageSizeTransition
Link copied to clipboard
Transition options for BearingImageSize.
emphasisCircleColor
Link copied to clipboard
The color of the circle emphasizing the indicator.
emphasisCircleColorAsColorInt
Link copied to clipboard
The color of the circle emphasizing the indicator.
emphasisCircleColorAsExpression
Link copied to clipboard
This is an Expression representation of "emphasis-circle-color".
emphasisCircleColorTransition
Link copied to clipboard
Transition options for EmphasisCircleColor.
emphasisCircleRadius
Link copied to clipboard
The radius, in pixel, of the circle emphasizing the indicator, drawn between the accuracy radius and the indicator shadow.
emphasisCircleRadiusAsExpression
Link copied to clipboard
This is an Expression representation of "emphasis-circle-radius".
emphasisCircleRadiusTransition
Link copied to clipboard
Transition options for EmphasisCircleRadius.
imagePitchDisplacement
Link copied to clipboard
The displacement off the center of the top image and the shadow image when the pitch of the map is greater than 0.
imagePitchDisplacementAsExpression
Link copied to clipboard
This is an Expression representation of "image-pitch-displacement".
locationAsExpression
Link copied to clipboard
This is an Expression representation of "location".
locationTransition
Link copied to clipboard
Transition options for Location.
perspectiveCompensation
Link copied to clipboard
The amount of the perspective compensation, between 0 and 1.
perspectiveCompensationAsExpression
Link copied to clipboard
This is an Expression representation of "perspective-compensation".
shadowImage
Link copied to clipboard
Name of image in sprite to use as the background of the location indicator.
shadowImageAsExpression
Link copied to clipboard
This is an Expression representation of "shadow-image".
shadowImageSize
Link copied to clipboard
The size of the shadow image, as a scale factor applied to the size of the specified image.
shadowImageSizeAsExpression
Link copied to clipboard
This is an Expression representation of "shadow-image-size".
shadowImageSizeTransition
Link copied to clipboard
Transition options for ShadowImageSize.
topImageAsExpression
Link copied to clipboard
This is an Expression representation of "top-image".
topImageSize
Link copied to clipboard
The size of the top image, as a scale factor applied to the size of the specified image.
topImageSizeAsExpression
Link copied to clipboard
This is an Expression representation of "top-image-size".
topImageSizeTransition
Link copied to clipboard
Transition options for TopImageSize.
visibility
Link copied to clipboard
Visibility of the layer.