addMarker

Adds a marker to the trajectory builder.

Return

A new TrajectoryBuilder with the marker added.

Parameters

marker

The Marker to add.


Adds a marker to the trajectory at the current position.

Return

A new TrajectoryBuilder with the marker added.

Parameters

trigger

The marker trigger function.

callback

The marker callback function.