maplibre-navigation-core
Toggle table of contents
8058cd2d
common
Platform filter
common
Switch theme
Search in API
maplibre-navigation-core
maplibre-navigation-core
/
org.maplibre.navigation.core.location.replay
/
ReplayRouteLocationConverter
Replay
Route
Location
Converter
open
class
ReplayRouteLocationConverter
(
route
:
DirectionsRoute
,
speed
:
Int
,
delay
:
Int
)
Members
Constructors
Replay
Route
Location
Converter
Link copied to clipboard
constructor
(
route
:
DirectionsRoute
,
speed
:
Int
,
delay
:
Int
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
is
Multi
Leg
Route
Link copied to clipboard
val
isMultiLegRoute
:
Boolean
Functions
calculate
Mock
Locations
Link copied to clipboard
fun
calculateMockLocations
(
points
:
List
<
Point
>
)
:
MutableList
<
Location
>
initialize
Time
Link copied to clipboard
fun
initializeTime
(
)
slice
Route
Link copied to clipboard
fun
sliceRoute
(
lineString
:
LineString
)
:
List
<
Point
>
Interpolates the route into even points along the route and adds these to the points list.
to
Locations
Link copied to clipboard
fun
toLocations
(
)
:
MutableList
<
Location
>
update
Delay
Link copied to clipboard
fun
updateDelay
(
customDelayInSeconds
:
Int
)
update
Speed
Link copied to clipboard
fun
updateSpeed
(
customSpeedInKmPerHour
:
Int
)