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.

Constructors

Link copied to clipboard
constructor(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.

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 describing the reverse geocoded location.

Link copied to clipboard

List of usages of the road.

Link copied to clipboard

The route (or road) number, designation or abbreviation is an identifying numeric (or alphanumeric) designation assigned by a highway authority to a particular stretch of roadway to distinguish it from other routes. Urban roads do not have route numbers, while extra urban roads should have them available, if they exist in the map data.

Link copied to clipboard
val speedLimit: Speed? = null

The speed limit for the street (where available)