sdk-maps / com.tomtom.online.sdk.map / DefaultGpsPositionIndicator

DefaultGpsPositionIndicator

@DeprecatedSince(2020, 6) open class DefaultGpsPositionIndicator : BaseGpsPositionIndicator
Deprecated: Deprecated in Java

Default GPS indicator implementation. The GPS position icon is shown without any accuracy radius, when accuracy is less than 10 meters. On the other hand, when accuracy is more than 10000 meters, the indicator is dimmed (gray icon). Otherwise, the radius showing GPS accuracy is visible.

Constructors

<init>

DefaultGpsPositionIndicator()

Default GPS indicator implementation. The GPS position icon is shown without any accuracy radius, when accuracy is less than 10 meters. On the other hand, when accuracy is more than 10000 meters, the indicator is dimmed (gray icon). Otherwise, the radius showing GPS accuracy is visible.

Functions

setLocation

open fun setLocation(location: Location!): Unit
open fun setLocation(latLng: LatLng!, bearingInDegrees: Double, accuracyInMeters: Double, timeInMillis: Long): Unit

Inherited Functions

hide

open fun hide(): Unit

isDimmed

open fun isDimmed(): Boolean

isVisible

open fun isVisible(): Boolean

setBearing

open fun setBearing(bearingInDegrees: Double): Unit

setDimmed

open fun setDimmed(dimmed: Boolean): Unit

setDimmedInaccuracyAreaColor

open fun setDimmedInaccuracyAreaColor(areaColor: Int): Unit

setInaccuracyAreaColor

open fun setInaccuracyAreaColor(areaColor: Int): Unit

show

open fun show(): Unit