blockly > MarkerManager > registerMarker
MarkerManager.registerMarker() method
Register the marker by adding it to the map of markers.
Signature:
registerMarker(id: string, marker: Marker): void;
Parameters
Parameter | Type | Description |
---|---|---|
id | string | A unique identifier for the marker. |
marker | Marker | The marker to register. |
Returns:
void