MapPlotterForCurrent

Class for plotting current user position on the map

Constructors

Link copied to clipboard
constructor(@NonNull mainMapFragment: MainMapFragment, @NonNull applicationContext: Context, @NonNull mapApi: MapApi)
Method to setup the Map Plotter for the Current user location.

Functions

Link copied to clipboard
open fun hasSetup(): Boolean
Method to check if the setup has been completed
Link copied to clipboard
Link copied to clipboard
open fun isWithinBlueDotProximityArea(mercator: Mercator): Boolean
Checks if the given Mercator coordinate lies within the blue dot's error area.
Link copied to clipboard
open fun onDestroy()
Link copied to clipboard
open fun onPositionAnimationChanged(position: Position)
Link copied to clipboard
open fun onPositionChanged(position: Position)
Link copied to clipboard
open fun setPositionVisibility(visible: Boolean)
Link copied to clipboard
open fun updateUserHeading(userHeadingDeg: Float)