Place
public struct Place : Equatable
Represents information about specific place
-
Creates a new instance of
Place.Declaration
Swift
public init( coordinate: CLLocationCoordinate2D, name: String? = nil, address: Address? = nil )Parameters
coordinateA coordinate representing the geographic coordinate of the place.
nameA string representing the name of the place.
addressAn address representing the address of the place.
-
Create a new Place instance
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public init( coordinate: CLLocationCoordinate2D, name: String? = nil, address: Address? = nil, entryPoints: [EntryPoint] = [] )
-
Coordinate of the place
Declaration
Swift
public let coordinate: CLLocationCoordinate2D -
Name of the place
Declaration
Swift
public let name: String? -
Address of the place
Declaration
Swift
public let address: Address? -
A list of entrances to the POI.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let entryPoints: [EntryPoint] -
Custom implementation of comparing Place objects, by requiring Places’ name and freeform addresses to be equal.
Declaration
Swift
public static func == (lhs: Place, rhs: Place) -> Bool
Place Structure Reference