Maps SDK for Android
Toggle table of contents
1.8.4
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Maps SDK for Android
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