copy

fun copy(place: Place = this.place, matchType: MatchType? = this.matchType, geometry: Geometry? = this.geometry, routeNumbers: List<String> = this.routeNumbers, speedLimit: Speed? = this.speedLimit, boundingBox: GeoBoundingBox? = this.boundingBox): PlaceMatch

Creates a copy of this PlaceMatch object with optional parameter overrides.

Return

The copied PlaceMatch object.

Parameters

place

The location information resulting from reverse geocoding.

matchType

Information indicating the type of match for the location. This value is null when the ReverseGeocoderOptions.areaTypes filter is not empty.

geometry

The geographical geometry of the matched location, if available. This value is null when ReverseGeocoderOptions.fetchGeometry is set to false.

routeNumbers

A list of route numbers, designations, or abbreviations that identify a specific stretch of roadway, assigned by a highway authority. Urban roads might not have route numbers, while extra-urban roads should have them if present in the map data.

speedLimit

The speed limit applicable to the street, if available.

boundingBox

The bounding box that encompasses the matched location.


fun copy(place: Place = this.place, roadUse: Set<RoadUse> = this.roadUse, matchType: MatchType? = this.matchType, geometry: Geometry? = this.geometry, routeNumbers: List<String> = this.routeNumbers, speedLimit: Speed? = this.speedLimit, boundingBox: GeoBoundingBox? = this.boundingBox): PlaceMatch

Deprecated

This API is deprecated and will be removed with the next major release.

Creates a copy of this PlaceMatch object with optional parameter overrides.

Return

The copied PlaceMatch object.

Parameters

place

The location information resulting from reverse geocoding.

roadUse

A set of road usage categories associated with the location.

matchType

Information indicating the type of match for the location. This value is null when the ReverseGeocoderOptions.areaTypes filter is not empty.

geometry

The geographical geometry of the matched location, if available. This value is null when ReverseGeocoderOptions.fetchGeometry is set to false.

routeNumbers

A list of route numbers, designations, or abbreviations that identify a specific stretch of roadway, assigned by a highway authority. Urban roads might not have route numbers, while extra-urban roads should have them if present in the map data.

speedLimit

The speed limit applicable to the street, if available.

boundingBox

The bounding box that encompasses the matched location.