Stay organized with collections Save and categorize content based on your preferences.

blockly > MarkerManager > getMarker

MarkerManager.getMarker() method

Get a single marker that corresponds to the given ID.

Signature:

getMarker(id: string): Marker | null;

Parameters

Parameter Type Description
id string A unique identifier for the marker.

Returns:

Marker | null

The marker that corresponds to the given ID, or null if none exists.