Location Indicator Layer
Location Indicator layer.
See also
Parameters
the ID of the layer
Constructors
Types
Functions
The accuracy, in meters, of the position source used to retrieve the position of the location indicator. Default value: 0.
The color for drawing the accuracy radius border. To adjust transparency, set the alpha component of the color accordingly. Default value: "#ffffff".
Set the AccuracyRadiusBorderColor property transition options
DSL for accuracyRadiusBorderColorTransition.
The color for drawing the accuracy radius, as a circle. To adjust transparency, set the alpha component of the color accordingly. Default value: "#ffffff".
Set the AccuracyRadiusColor property transition options
DSL for accuracyRadiusColorTransition.
Set the AccuracyRadius property transition options
DSL for accuracyRadiusTransition.
The bearing of the location indicator. Values under 0.01 degree variation are ignored. Default value: 0.
Name of image in sprite to use as the middle of the location indicator.
The size of the bearing image, as a scale factor applied to the size of the specified image. Default value: 1.
Set the BearingImageSize property transition options
DSL for bearingImageSizeTransition.
Set the Bearing property transition options
DSL for bearingTransition.
Bind the layer to the Style.
Bind the layer to the map controller.
The color of the circle emphasizing the indicator. To adjust transparency, set the alpha component of the color accordingly. Default value: "#ffffff".
Set the EmphasisCircleColor property transition options
DSL for emphasisCircleColorTransition.
Specifies a glow effect range of the emphasis circle, in pixels. If 0,0 values are provided, it renders the circle as a solid color. The first value specifies the start of the glow effect where it is equal to the circle's color, the second is the end, where it's fully transparent. Between the two values the effect is linearly faded out. Default value: 0,0.
Set the EmphasisCircleGlowRange property transition options
DSL for emphasisCircleGlowRangeTransition.
The radius, in pixel, of the circle emphasizing the indicator, drawn between the accuracy radius and the indicator shadow. Default value: 0.
Set the EmphasisCircleRadius property transition options
DSL for emphasisCircleRadiusTransition.
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. Default value: "0".
An array of latitude, longitude, altitude position of the location indicator. Values under 0.000001 variation are ignored. Default value: 0,0,0.
The opacity of the entire location indicator layer. Default value: 1. Value range: 0, 1
Set the LocationIndicatorOpacity property transition options
DSL for locationIndicatorOpacityTransition.
Set the Location property transition options
DSL for locationTransition.
The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden.
The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden.
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. Default value: "0.85".
Name of image in sprite to use as the background of the location indicator.
The size of the shadow image, as a scale factor applied to the size of the specified image. Default value: 1.
Set the ShadowImageSize property transition options
DSL for shadowImageSizeTransition.
The slot this layer is assigned to. If specified, and a slot with that name exists, it will be placed at that position in the layer order.
Name of image in sprite to use as the top of the location indicator.
The size of the top image, as a scale factor applied to the size of the specified image. Default value: 1.
Set the TopImageSize property transition options
DSL for topImageSizeTransition.
Whether this layer is displayed.
Properties
Specifies a glow effect range of the emphasis circle, in pixels. If 0,0 values are provided, it renders the circle as a solid color. The first value specifies the start of the glow effect where it is equal to the circle's color, the second is the end, where it's fully transparent. Between the two values the effect is linearly faded out. Default value: 0,0.
Specifies a glow effect range of the emphasis circle, in pixels. If 0,0 values are provided, it renders the circle as a solid color. The first value specifies the start of the glow effect where it is equal to the circle's color, the second is the end, where it's fully transparent. Between the two values the effect is linearly faded out. Default value: 0,0.