MPINode

public struct MPINode : MPINavigatable

MPINode represents a position, anchored to a specific MPIMap

  • id

    id of the MPINode

    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 var id: String
  • x

    The x coordinate of the MPINode

    Note

    x values are scaled to Mappedin units.

    Declaration

    Swift

    public let x: Double?
  • y

    The y coordinate of the MPINode

    Note

    y values are scaled to Mappedin units.

    Declaration

    Swift

    public let y: Double?
  • map

    Optional id string of the map where MPINode is at.

    Declaration

    Swift

    public let map: String?
  • externalId of the MPINode

    Note

    externalId 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?
  • If MPINode is accessible, accessible is set to true; otherwise, it is false.

    Declaration

    Swift

    public let accessible: Bool?
  • Adjacent nodes of the MPINode

    Declaration

    Swift

    public let paths: [MPIPathNode]?
  • Declaration

    Swift

    public var navigatableType: String { get }