PlaceMatch
public struct PlaceMatch
Describes the place details from reverse geocoding service.
-
Creates a new
PlaceMatch.Declaration
Swift
public init( place: Place, navigablePosition: CLLocationCoordinate2D, roadUse: Set<RoadUse>, matchType: MatchType?, geometry: Geometry? = nil, routeNumbers: [String] = [], speedLimit: Measurement<UnitSpeed>? = nil, boundingBox: BoundingBox? = nil )Parameters
placeThe result describing the reverse geocoded location.
navigablePositionThe position of the matched place.
roadUseList of usages of the road.
matchTypeThe type of geographical object match, for example an address or a street.
geometryThe geographical geometry of the place match, which can be visualized on a map. The value is nil when
ReverseGeocoderOptions.fetchGeometryis false.routeNumbersThe 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.
speedLimitA speed limit defined at the matched road segment.
boundingBoxThe bounding box of the place match.
-
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 -
Set of road usage types at the address.
Declaration
Swift
public let roadUse: Set<RoadUse> -
The type of geographical object match, for example an address or a street.
Declaration
Swift
public let matchType: MatchType? -
The bounding box of the place match.
Declaration
Swift
public let boundingBox: BoundingBox? -
The list of codes used to unambiguously identify the street.
Declaration
Swift
public let routeNumbers: [String] -
A speed limit if it is defined in the matched place.
Declaration
Swift
public let speedLimit: Measurement<UnitSpeed>? -
The geographical geometry of the place match, which can be visualized on a map.
Declaration
Swift
public let geometry: Geometry?
TomTom SDK for iOS (0.51.1)
PlaceMatch