PlaceMatch
public struct PlaceMatch
Describes the place matching the requested position.
Important
This is a Public Preview API. It may be changed or removed at any time.-
init(place:
navigablePosition: roadUse: matchType: mapCodes: geometry: routeNumbers: speedLimit: boundingBox: ) Creates PlaceMatch.
Declaration
Swift
public init( place: Place, navigablePosition: CLLocationCoordinate2D, roadUse: [RoadUse], matchType: MatchType?, mapCodes: [MapCode] = [], geometry: GeoGeometry? = nil, routeNumbers: [String] = [], speedLimit: String? = nil, boundingBox: GeoBoundingBox? = nil )
Parameters
place
Representation of the address returned in the result.
navigablePosition
The position of the matched place.
roadUse
List of road usage types at the address.
matchType
Information on the type of match.
mapCodes
Map codes of the matched place.
geometry
The geographical geometry of the place match. (where available).
routeNumbers
unambiguously identify the street.
speedLimit
a speed limit defined at the matched address.
boundingBox
a rectangle that contains matched place.
-
Representation of the address returned in the result.
Declaration
Swift
public let place: Place
-
The position of the matched place.
Declaration
Swift
public let navigablePosition: CLLocationCoordinate2D
-
List of road usage types at the address.
Declaration
Swift
public let roadUse: [RoadUse]
-
Information on the type of match.
Declaration
Swift
public let matchType: MatchType?
-
Map codes of the matched place.
Declaration
Swift
public let mapCodes: [MapCode]
-
The geographical geometry of the place match. (where available).
nil
whenReverseGeocoderOptions.shouldFetchGeometry
isfalse
Declaration
Swift
public let boundingBox: GeoBoundingBox?
-
The codes used to unambiguously identify the street.
Declaration
Swift
public let routeNumbers: [String]
-
A speed limit defined in the matched place, for example: 30.00KPH.
Declaration
Swift
public let speedLimit: String?
-
The geometry.
Declaration
Swift
public let geometry: GeoGeometry?