PlaceMatch

data class PlaceMatch(val place: Place, val roadUse: Set<RoadUse> = emptySet(), val matchType: MatchType? = null, val geometry: Geometry? = null, val routeNumbers: List<String> = emptyList(), val speedLimit: Speed? = null, val boundingBox: GeoBoundingBox? = null)

Describes the place details retrieved from reverse geocoding.

Important: This is a Public Preview API. It may be changed or removed at any time.

Constructors

Link copied to clipboard
fun PlaceMatch(place: Place, roadUse: Set<RoadUse> = emptySet(), matchType: MatchType? = null, geometry: Geometry? = null, routeNumbers: List<String> = emptyList(), speedLimit: Speed? = null, boundingBox: GeoBoundingBox? = null)

Properties

Link copied to clipboard

The bounding box of the place match.

Link copied to clipboard
val geometry: Geometry? = null

The geographical geometry of the place match. (where available) The value is null when ReverseGeocoderOptions.fetchGeometry is not set to true. The geometry fetching feature isn't implemented yet (this response field is reserved for the future extension).

Link copied to clipboard
val matchType: MatchType? = null

Information on the type of match. The value is null when ReverseGeocoderOptions.areaTypes filter is not empty.

Link copied to clipboard

The result of the reverse geocoding that is matching the request.

Link copied to clipboard

List of road usage types at the place.

Link copied to clipboard

The codes used to unambiguously identify the street.

Link copied to clipboard
val speedLimit: Speed? = null

The speed limit for the street (where available)