PlaceMappable
protocol PlaceMappable
A Place that is showable on map
-
The Mappable to use for display
Declaration
Swift
var map: Mappable? { get }
-
placeCoordinate
Extension methodCoordinate for plotting on map
Declaration
Swift
var placeCoordinate: CLLocationCoordinate2D { get }
-
placeCountry
Extension methodUN country containing place
Declaration
Swift
var placeCountry: String { get }
-
placeImageUrl
Extension methodUUID of main image to display for place
Declaration
Swift
var placeImageUrl: URL? { get }
-
placeLocation
Extension methodMTP location containing place
Declaration
Swift
var placeLocation: Location? { get }
-
placeRegion
Extension methodRegion containing the country
Declaration
Swift
var placeRegion: String { get }
-
placeTitle
Extension methodTitle to display to user
Declaration
Swift
var placeTitle: String { get }
-
placeVisitors
Extension methodNumber of MTP visitors
Declaration
Swift
var placeVisitors: Int { get }
-
placeWebUrl
Extension methodfor non-MTP locations, page to load in More Info screen
Declaration
Swift
var placeWebUrl: URL? { get }