Mapsted Android SDK 26.8.1
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Mapsted Android SDK 26.8.1
android-sdk-map
/
com.mapsted.map.position
/
MapPlotterForCurrent
Map
Plotter
For
Current
open
class
MapPlotterForCurrent
Class for plotting current user position on the map
Members
Constructors
Map
Plotter
For
Current
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
has
Setup
Link copied to clipboard
open
fun
hasSetup
(
)
:
Boolean
Method to check if the setup has been completed
is
Blue
Dot
On
Screen
Link copied to clipboard
open
fun
isBlueDotOnScreen
(
)
:
Boolean
is
Within
Blue
Dot
Proximity
Area
Link copied to clipboard
open
fun
isWithinBlueDotProximityArea
(
mercator
:
Mercator
)
:
Boolean
Checks if the given Mercator coordinate lies within the blue dot's error area.
on
Destroy
Link copied to clipboard
open
fun
onDestroy
(
)
on
Position
Animation
Changed
Link copied to clipboard
open
fun
onPositionAnimationChanged
(
position
:
Position
)
on
Position
Changed
Link copied to clipboard
open
fun
onPositionChanged
(
position
:
Position
)
set
Position
Visibility
Link copied to clipboard
open
fun
setPositionVisibility
(
visible
:
Boolean
)
update
User
Heading
Link copied to clipboard
open
fun
updateUserHeading
(
userHeadingDeg
:
Float
)