DestinationSearchResult
data class DestinationSearchResult(val originalSearchModel: OriginalSearchModel, val address: SearchAddress?, val clickCoordinate: Point? = null, val coordinate: Point, val etaMinutes: Double?, val id: String, val metadata: DestinationMetadata?, val name: String, val routablePoints: List<RoutablePoint>?, val type: SearchResultType, val categories: List<String>?, val makiIcon: String?, val distance: Double?, val descriptionText: String?, val destinationSource: DestinationSource = DestinationSource.MBX, val mapboxId: String? = null)
Parameters
clickCoordinate
the coordinate of original user click if this is a reverse geocoding result.
Constructors
Link copied to clipboard
constructor(originalSearchModel: OriginalSearchModel, address: SearchAddress?, clickCoordinate: Point? = null, coordinate: Point, etaMinutes: Double?, id: String, metadata: DestinationMetadata?, name: String, routablePoints: List<RoutablePoint>?, type: SearchResultType, categories: List<String>?, makiIcon: String?, distance: Double?, descriptionText: String?, destinationSource: DestinationSource = DestinationSource.MBX, mapboxId: String? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The location on the map where the pin for this result should be shown.
Link copied to clipboard