PositionIndicator

open class PositionIndicator

Constructors

Link copied to clipboard
open fun PositionIndicator()

Functions

Link copied to clipboard
@MainThread
open fun animatePosition(@Nullable newPosition: PositionResult)
Animates the position indicator to the given position
Link copied to clipboard
open fun getAccuracy(): Float
Link copied to clipboard
@NonNull
open fun getLatLng(): LatLng
Gets the position as a com.google.android.gms.maps.model.LatLng
Link copied to clipboard
@Nullable
open fun getPosition(): PositionResult
Gets the position as a Point
Link copied to clipboard
open fun getProbability(): Double
Link copied to clipboard
@MainThread
open fun hide()
Link copied to clipboard
@MainThread
open fun hideAccuracyCircle()
Link copied to clipboard
open fun isVisible(): Boolean
Checks if the position indicator marker is visible
Link copied to clipboard
@MainThread
open fun setAccuracy(accuracy: Float)
Link copied to clipboard
@MainThread
open fun setIconFromDisplayRule(@NonNull locationDisplayRule: LocationDisplayRule): Boolean
Link copied to clipboard
@MainThread
open fun setProbability(probability: Double)
Link copied to clipboard
@MainThread
open fun setVisible(visible: Boolean)
Link copied to clipboard
@MainThread
open fun show()
Link copied to clipboard
@MainThread
open fun showAccuracyCircle()