MPINode
public struct MPINode : MPINavigatable
MPINode
represents a position, anchored to a specific MPIMap
-
id
of theMPINode
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
-
The x coordinate of the
MPINode
Note
x values are scaled to Mappedin units.Declaration
Swift
public let x: Double?
-
The y coordinate of the
MPINode
Note
y values are scaled to Mappedin units.Declaration
Swift
public let y: Double?
-
Optional
id
string of the map whereMPINode
is at.Declaration
Swift
public let map: String?
-
externalId
of theMPINode
Note
externalId is for a more durable use than id or if the data in the Mappedin CMS is being synced from somewhere elseDeclaration
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]?
-
MPINavigatable
typeDeclaration
Swift
public var navigatableType: String { get }