SearchResult
class SearchResult(val id: String, val coordinate: Point, val address: Address?, val name: String, val customName: String?, val type: String, val categories: List<String>?, val description: String?, val distanceMeters: Double?, val etaMinutes: Double?, val metadata: Map<String, String>?) : SearchItem
Represents a place on a map that the user can navigate to. Must not necessary be instantiated by Mapbox, can also be created on the client side to convert 3rd-party search results into Mapbox format to then navigate to them.
Constructors
Properties
Link copied to clipboard
The categories of the search result.
Link copied to clipboard
The coordinate of the search result.
Link copied to clipboard
The custom name of the search result.
Link copied to clipboard
The description of the search result.
Link copied to clipboard
The distance in meters from the search result to the user location.
Link copied to clipboard
The estimated time of arrival in minutes from the search result to the user location.