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