current position in history
number of entries in history
Add a POI and notify track change listeners.
Add new event listener to be notified on track changes.
Add new event listener to be notified on track hover.
Delete a POI and notify track change listeners.
The library creates and keeps the control points consistently with the segments. It is generally a bad idea to update control points manually.
the internal control points as a readonly array
See addPOI, deletePOI, updatePOIMeta`. The library maintains the POI indexes and geometries so don't modify them.
addPOI
deletePOI
the internal POIs as a readonly array
The library manages the segments together with the control points. It is probably a bad idea to update segments manually.
the internal segments as a readonly array
Redo one drawing step
Remove registered event listener.
Undo one drawing step
Update the meta of a POI given by its index
Add a POI and notify track change listeners.