toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-search
/
com.mapbox.dash.sdk.search.domain.utils
/
RouteTrimmer
/
coordinatesUpUntilIndex
coordinates
Up
Until
Index
fun
coordinatesUpUntilIndex
(
precision
:
Int
,
leg
:
RouteLeg
,
lastGeometryIndex
:
Int
,
limitDistanceInMeters
:
Int
=
Int.MAX_VALUE
,
thresholdStepMeters
:
Int
=
THRESHOLD_STEP_METERS
)
:
List
<
Point
>