distanceToCurrentUserPosition

open fun distanceToCurrentUserPosition(point: Mercator, coreApi: CoreApi): Double

Calculate the distance between the current user's position to the point. It will return null if the current position is not yet set

Return

return the distance between the current user's position to the point in meters.

Parameters

point

a point in the map.

coreApi