MPIMap
public class MPIMap : Codable
MPIMaps
represents one of the maps associated with a venue.
- Example: map of the first floor at a given venue
-
id of the
MPIMap
Declaration
Swift
public let id: String
-
Name of the
MPIMap
- Example: “Upper Level”
Declaration
Swift
public let name: String
-
Short name of the
MPIMap
- Example: “L2”
Declaration
Swift
public let shortName: String
-
Elevation level of the
MPIMap
- Example: 1
Declaration
Swift
public let elevation: Double?
-
Mappedin scale of the
MPIMap
Declaration
Swift
public let scale: Double?
-
Mappedin x scale of the
MPIMap
Declaration
Swift
public let x_scale: Double?
-
MPIMapGroup
of anMPIMap
Declaration
Swift
public var group: MPIMapGroup?
-
See moreMPICoordinate
represents a Mappedin coordinate.Declaration
Swift
public struct MPICoordinate
-
createCoordinate takes in a lat and lon and returns a Mappedin coordinate
Declaration
Swift
public func createCoordinate(latitude: Double, longitude: Double) -> MPICoordinate?
Parameters
latitude
latitude of a real world position in double
longitude
longitude of a real world position in double
Return Value
an
MPICoordinate
object with Mappedin x coordinate, Mappedin y coordinate, passed in lat, passed in lon, and the map