Options
All
  • Public
  • Public/Protected
  • All
Menu

A MappedinNode represents a position, anchored to a specific MappedinMap.

A Node can have more properties but usually the default is sufficient. The Mappedin 'things' object is where you would specify what properties you want to download for Nodes. Only specify what you will actually use, to minmimze transfer time. Work with your Mappedin developer relations contact to set up any custom properties you need.

Hierarchy

  • MappedinNavigatable
    • MappedinNode

Index

Constructors

Properties

#cache: any = {}
#data: any
#mappedin: Mappedin
#mappedin: Mappedin
#paths: any

Longitude of node

externalId?: string
id: string = ''

Node ID.

property

id {string}

map: string = ''

ID of Map that the Node is located on.

property

map {string}

operationHours?: TOpeningHours[]

Operation Hours of this node. A Location may have different operation hours per node, for example 2 washrooms

x: number = 0

X coordinate of Node's position.

property

x {number}

y: number = 0

Y coordinate of Node's position.

property

y {number}

Accessors

  • get lat(): number
  • Latitude of node. This is expensive, especially if doing it for many/all nodes

    Returns number

  • get lon(): number
  • Longitude of node. This is expensive, especially if doing it for many/all nodes

    Returns number

  • Adjacent Nodes.

    property

    paths

    Returns MappedinNode[]

  • Adjacent Nodes.

    property

    paths

    Parameters

    Returns void

Methods

  • Calculate distance between 2 nodes, polygons or locations

    Parameters

    Returns number

  • toJSON(): any
  • Returns any