Waypoint.destroyAll()
Parameters
None.
Returns
undefined
.
Destroys all Waypoints. This is the same as calling destroy on every waypoint, or calling destroy on every context.
Scroll down to view an example.
Waypoint 1
Waypoint 2
Waypoint 3
Waypoint 4
Waypoint 5
Waypoint 6
Waypoint 7
Waypoint 8