Companion

object Companion

Static variables and methods.

Properties

Link copied to clipboard

The accuracy, in meters, of the position source used to retrieve the position of the location indicator. Default value: 0.

Link copied to clipboard

The accuracy, in meters, of the position source used to retrieve the position of the location indicator. Default value: 0.

Link copied to clipboard

The color for drawing the accuracy radius border. To adjust transparency, set the alpha component of the color accordingly. Default value: "#ffffff".

The color for drawing the accuracy radius border. To adjust transparency, set the alpha component of the color accordingly. Default value: "#ffffff".

The color for drawing the accuracy radius border. To adjust transparency, set the alpha component of the color accordingly. Default value: "#ffffff".

Transition options for AccuracyRadiusBorderColor.

Link copied to clipboard

The color for drawing the accuracy radius, as a circle. To adjust transparency, set the alpha component of the color accordingly. Default value: "#ffffff".

Link copied to clipboard

The color for drawing the accuracy radius, as a circle. To adjust transparency, set the alpha component of the color accordingly. Default value: "#ffffff".

Link copied to clipboard

The color for drawing the accuracy radius, as a circle. To adjust transparency, set the alpha component of the color accordingly. Default value: "#ffffff".

Link copied to clipboard

Transition options for AccuracyRadiusColor.

Link copied to clipboard

Transition options for AccuracyRadius.

Link copied to clipboard

The bearing of the location indicator. Values under 0.01 degree variation are ignored. Default value: 0.

Link copied to clipboard

The bearing of the location indicator. Values under 0.01 degree variation are ignored. Default value: 0.

Link copied to clipboard

Name of image in sprite to use as the middle of the location indicator.

Link copied to clipboard

Name of image in sprite to use as the middle of the location indicator.

Link copied to clipboard

The size of the bearing image, as a scale factor applied to the size of the specified image. Default value: 1.

Link copied to clipboard

The size of the bearing image, as a scale factor applied to the size of the specified image. Default value: 1.

Link copied to clipboard

Transition options for BearingImageSize.

Link copied to clipboard

Transition options for Bearing.

Link copied to clipboard

The color of the circle emphasizing the indicator. To adjust transparency, set the alpha component of the color accordingly. Default value: "#ffffff".

Link copied to clipboard

The color of the circle emphasizing the indicator. To adjust transparency, set the alpha component of the color accordingly. Default value: "#ffffff".

Link copied to clipboard

The color of the circle emphasizing the indicator. To adjust transparency, set the alpha component of the color accordingly. Default value: "#ffffff".

Link copied to clipboard

Transition options for EmphasisCircleColor.

Link copied to clipboard

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.

Link copied to clipboard

Transition options for EmphasisCircleGlowRange.

Link copied to clipboard

The radius, in pixel, of the circle emphasizing the indicator, drawn between the accuracy radius and the indicator shadow. Default value: 0.

Link copied to clipboard

The radius, in pixel, of the circle emphasizing the indicator, drawn between the accuracy radius and the indicator shadow. Default value: 0.

Link copied to clipboard

Transition options for EmphasisCircleRadius.

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. This helps producing a three-dimensional appearence. Default value: "0".

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

Link copied to clipboard

An array of latitude, longitude, altitude position of the location indicator. Values under 0.000001 variation are ignored. Default value: 0,0,0.

Link copied to clipboard

An array of latitude, longitude, altitude position of the location indicator. Values under 0.000001 variation are ignored. Default value: 0,0,0.

Link copied to clipboard

The opacity of the entire location indicator layer. Default value: 1. Value range: 0, 1

The opacity of the entire location indicator layer. Default value: 1. Value range: 0, 1

Transition options for LocationIndicatorOpacity.

Link copied to clipboard

Transition options for Location.

Link copied to clipboard

The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden.

Link copied to clipboard

The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden.

Link copied to clipboard

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

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

Link copied to clipboard

Name of image in sprite to use as the background of the location indicator.

Link copied to clipboard

Name of image in sprite to use as the background of the location indicator.

Link copied to clipboard

The size of the shadow image, as a scale factor applied to the size of the specified image. Default value: 1.

Link copied to clipboard

The size of the shadow image, as a scale factor applied to the size of the specified image. Default value: 1.

Link copied to clipboard

Transition options for ShadowImageSize.

Link copied to clipboard

Name of image in sprite to use as the top of the location indicator.

Link copied to clipboard

Name of image in sprite to use as the top of the location indicator.

Link copied to clipboard

The size of the top image, as a scale factor applied to the size of the specified image. Default value: 1.

Link copied to clipboard

The size of the top image, as a scale factor applied to the size of the specified image. Default value: 1.

Link copied to clipboard

Transition options for TopImageSize.

Link copied to clipboard

Visibility of the layer.