sdk-search / com.tomtom.online.sdk.search.data.geometry / GeometrySearchResult / getDistance

getDistance

open fun getDistance(): Double

Returns the distance in meters from the provided starting point for a search. It is available in a response only when the request contains "lat" and "lon" parameters.