interface GpsIndicator : Serializable
The base interface defining a GPS indicator that can be added to the map.
abstract fun hide(): Unit
Makes the indicator element invisible. |
|
abstract fun isDimmed(): Boolean
True when the indicator element is active, false otherwise. |
|
abstract fun setBearing(bearingInDegrees: Double): Unit
Updates the indicator element bearing. |
|
abstract fun setDimmed(dimmed: Boolean): Unit
Makes the indicator element inactive (dimmed). |
|
abstract fun setDimmedInaccuracyAreaColor(areaColor: Int): Unit
Updates the GPS inaccuracy radius color when the GPS signal accuracy is not within bounds. |
|
abstract fun setInaccuracyAreaColor(areaColor: Int): Unit
Updates the GPS inaccuracy radius color that is displayed when the signal is accurate. |
|
abstract fun setLocation(location: Location!): Unit abstract fun setLocation(latLng: LatLng!, bearingInDegrees: Double, accuracyInMeters: Double, timeInMillis: Long): Unit
Updates the indicator element position. |
|
abstract fun show(): Unit
Makes the indicator element visible. |
open class BaseGpsPositionIndicator : GpsIndicator
Base class defining the position indicator that can be added to the map. |