Map
public class Map : Focusable, Indexed, Deserializable
extension Map: Equatable
A Map belonging to a given venue. Typically represents a certain floor. Give this to MapView to display to the user. The floor property can be used to determine the order of the floors (first, second, third, etc)
-
Name of the map (First Floor, Second Floor, etc)
Declaration
Swift
public let name: String -
A shorter name to display in dropdowns, etc if the actual name is too long
Declaration
Swift
public let shortName: String -
Floor number, used to sort floors
Declaration
Swift
public let floor: Int -
Any rotation applied to the Map
Declaration
Swift
public let heading: Float -
Venue that this map belongs to
Declaration
Swift
public weak var venue: Venue? { get set } -
A collection of polygons that belong to this map
Declaration
Swift
public var polygons: [Polygon] { get }
View on GitHub
Map Class Reference