class Way (client-side)
Available since version: 0.1.4
This class represents Way constructed from waypoints.
Constructor
Way(string startWp, string endWp)
Parameters:
stringstartWp: the name of the start waypoint.stringendWp: the name of the end waypoint.
Properties
string start (read-only)
Represents the start waypoint for Way.
string end (read-only)
Represents the end waypoint for Way.
Methods
getWaypoints
This method will get the all waypoints between start waypoint & end waypoint.
[wpName...] getWaypoints()
Returns [wpName...]:
the array containing the names of all of the Way waypoints.
getCountWaypoints
This method will get the number of waypoints between start waypoint & end waypoint.
int getCountWaypoints()
Returns int:
the number of waypoints.
Callbacks
No callbacks.