LocationComponentConstants

object LocationComponentConstants

Contains all the constants being used for the LocationComponentPlugin.

Properties

ACCURACY_RADIUS_ANIMATION_DURATION
Link copied to clipboard
const val ACCURACY_RADIUS_ANIMATION_DURATION: Long = 250

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

BEARING_ICON
Link copied to clipboard
const val BEARING_ICON: String

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

COMPASS_UPDATE_RATE_MS
Link copied to clipboard
const val COMPASS_UPDATE_RATE_MS: Long = 500

Controls the compass update rate in milliseconds

DEFAULT_FASTEST_INTERVAL_MILLIS
Link copied to clipboard
const val DEFAULT_FASTEST_INTERVAL_MILLIS: Long = 1000

Default fastest acceptable interval between location updates

DEFAULT_INTERVAL_MILLIS
Link copied to clipboard
const val DEFAULT_INTERVAL_MILLIS: Long = 1000

Default interval between location updates

DEFAULT_TRACKING_PADDING_ANIM_DURATION
Link copied to clipboard
const val DEFAULT_TRACKING_PADDING_ANIM_DURATION: Long = 750

Default animation duration for updating padding while tracking.

DEFAULT_TRACKING_TILT_ANIM_DURATION
Link copied to clipboard
const val DEFAULT_TRACKING_TILT_ANIM_DURATION: Long = 1250

Default animation duration for tilting while tracking.

DEFAULT_TRACKING_ZOOM_ANIM_DURATION
Link copied to clipboard
const val DEFAULT_TRACKING_ZOOM_ANIM_DURATION: Long = 750

Default animation duration for zooming while tracking.

INSTANT_LOCATION_TRANSITION_THRESHOLD
Link copied to clipboard
const val INSTANT_LOCATION_TRANSITION_THRESHOLD: Double = 50000.0

Threshold value to perform immediate camera/layer position update.

LOCATION_INDICATOR_LAYER
Link copied to clipboard
const val LOCATION_INDICATOR_LAYER: String

Layer ID of the location indicator layer.

MAX_ANIMATION_DURATION_MS
Link copied to clipboard
const val MAX_ANIMATION_DURATION_MS: Long = 2000

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

MODEL_LAYER
Link copied to clipboard
const val MODEL_LAYER: String

Layer ID of the location background layer.

MODEL_SOURCE
Link copied to clipboard
const val MODEL_SOURCE: String

Source ID of the background source.

SHADOW_ICON
Link copied to clipboard
const val SHADOW_ICON: String

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

TOP_ICON
Link copied to clipboard
const val TOP_ICON: String

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

TRANSITION_ANIMATION_DURATION_MS
Link copied to clipboard
const val TRANSITION_ANIMATION_DURATION_MS: Long = 750

Sets the transition animation duration when switching camera modes.