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

BaseGpsPositionIndicator

open class BaseGpsPositionIndicator : GpsIndicator

Base class defining the position indicator that can be added to the map.

Constructors

<init>

BaseGpsPositionIndicator()

Base class defining the position indicator that can be added to the map.

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

setLocation

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

show

open fun show(): Unit

Inheritors

DefaultGpsPositionIndicator

open class DefaultGpsPositionIndicator : BaseGpsPositionIndicator

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.