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
placeRepresentation of the address returned in the result.
navigablePositionThe position of the matched place.
roadUseList of road usage types at the address.
matchTypeInformation on the type of match.
mapCodesMap codes of the matched place.
geometryThe geographical geometry of the place match. (where available).
routeNumbersunambiguously identify the street.
speedLimita speed limit defined at the matched address.
boundingBoxa 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).
nilwhenReverseGeocoderOptions.shouldFetchGeometryisfalseDeclaration
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?
PlaceMatch Structure Reference