Wayfinder Nodes Database Class
Nodes are used as waypoints for the routing system. As well as that, Amenity icons are also placed on nodes.
This class inherits and therefore includes all the methods and functions defined the standard wayfinder database base class. As well as these, it also adds the following:
|
onFloor(floorId) |
function |
Returns an instance of WayfinderNodesDatabase containing just the nodes on the floorId passed |
|
bounds |
property (r) |
Returns a Wayfinder Bounds object that describes the bounding box/cube that contains all of the nodes in this object. |
Each record in the WayfinderNodesDatabase contains the following properties:
|
floor_id |
property (r) |
The floorId this node is on. See Wayfinder Floor Database. |
|
id |
property (r) |
The unique ID for this node |
|
location_description |
property (r) |
A textual description describing the location of this node. This might be null if not set. |
|
position |
property (r) |
An object, containing {x, y, z} properties, which represent the precise map coordinates for this node. |