MPIPolygon

public struct MPIPolygon : MPINavigatable

MPIPolygon represents the geographical area covered by an MPILocation in a venue.

  • id

    id of the MPIPolygon

    Note

    Note:id can be used for the lifetime of the data you get back, but it may not be present in future calls.

    Declaration

    Swift

    public let id: String
  • map

    id of the map where the MPIPolygon is at

    Declaration

    Swift

    public let map: String?
  • The layer covering the MPIPolygon

    Declaration

    Swift

    public let layer: String?
  • id of the layer

    Declaration

    Swift

    public let layerId: String?
  • The external id of the MPIPolygon

    Note

    external id is for a more durable use than id or if the data in the Mappedin CMS is being synced from somewhere else

    Declaration

    Swift

    public let externalId: String?
  • The name of the MPIPolygon

    Declaration

    Swift

    public let name: String?
  • The array of all entrance nodes of the MPIPolygon

    Declaration

    Swift

    public var entrances: [MPINode]?
  • The array of all locations attached to the MPIPolygon

    Declaration

    Swift

    public var locations: [MPILocation]?
  • The ranking data of the MPIPolygon

    Declaration

    Swift

    public var rank: MPIPolygonRanking?
  • Declaration

    Swift

    public var navigatableType: String { get }