findClosestWaypoint

open fun findClosestWaypoint(location: LatLng, floorKey: String): Waypoint

Finds the closest waypoint for a given location on the specified floor.

Return

the closest waypoint on the specified floor, or null if none exists

Parameters

location

LatLng of desired waypoint.

floorKey

Key of the desired floor.