add

external fun add(marker: Marker, settings: MarkerRenderSettings, index: Int = -1): Int

Add a new sketch with specific render settings

Return

0 on success, error code otherwise

Parameters

marker

The marker added to the collection

settings

The marker render settings

index

The new marker position in collection. -1 means at the collection end ( topmost )