toggle menu
Maps SDK for Android
7.1.25.10.AD1705D4
androidJvm
switch theme
search in API
Maps SDK for Android
/
com.magiclane.sdk.routesandnavigation
/
Route
/
getClosestSegment
get
Closest
Segment
external
fun
getClosestSegment
(
coordinates
:
Coordinates
)
:
Int
Get index of the closest route segment to the given coordinates
Return
-1 if route is invalid