LocationComponentConstants

Contains all the constants being used for the LocationComponentPlugin.

Properties

Link copied to clipboard

Sets the duration of change of accuracy radius when a different value is provided.

Link copied to clipboard
const val BEARING_ICON: String

Image ID for the bearing icon of the location indicator layer.

Link copied to clipboard
const val COMPASS_UPDATE_RATE_MS: Long = 500

Controls the compass update rate in milliseconds

Link copied to clipboard

Default fastest acceptable interval between location updates

Link copied to clipboard
const val DEFAULT_INTERVAL_MILLIS: Long = 1000

Default interval between location updates

Link copied to clipboard

Default animation duration for updating padding while tracking.

Link copied to clipboard

Default animation duration for tilting while tracking.

Link copied to clipboard

Default animation duration for zooming while tracking.

Link copied to clipboard

Threshold value to perform immediate camera/layer position update.

Link copied to clipboard

Layer ID of the location indicator layer.

Link copied to clipboard

Sets the max allowed time for the location icon animation from one LatLng to another.

Link copied to clipboard
const val MODEL_LAYER: String

Layer ID of the location background layer.

Link copied to clipboard
const val MODEL_SOURCE: String

Source ID of the background source.

Link copied to clipboard

Control maximum radius for pulsing puck to follow location accuracy’s radius.

Link copied to clipboard
const val SHADOW_ICON: String

Image ID for the shadow icon of the location indicator layer.

Link copied to clipboard
const val TOP_ICON: String

Image ID for the top icon of the location indicator layer.

Link copied to clipboard

Sets the transition animation duration when switching camera modes.