PlaceMatch

data class PlaceMatch(val place: Place, val navigablePosition: GeoPoint, val roadUse: Set<RoadUse> = emptySet(), val matchType: MatchType? = null, val mapCodes: Set<MapCode> = emptySet(), val geometry: Geometry? = null, val routeNumbers: List<String> = emptyList(), val speedLimit: String = "", 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, navigablePosition: GeoPoint, roadUse: Set<RoadUse> = emptySet(), matchType: MatchType? = null, mapCodes: Set<MapCode> = emptySet(), geometry: Geometry? = null, routeNumbers: List<String> = emptyList(), speedLimit: String = "", 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

The set of MapCodes for the place match. The value is null when ReverseGeocoderOptions.mapCodeTypes is null or empty.

Link copied to clipboard
val matchType: MatchType? = null

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

Link copied to clipboard

Position of the result.

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

The speed limit for the street (where available) in the form DD.DDUUU, For example: 30.00KPH D is a digit (for example, 30.00). UUU is either KPH or MPH (whichever is correct for the address).