removeMarker abstract method

void removeMarker(
  1. Marker<T> marker
)

Removes a specific marker from the datastore.

The marker will no longer be included in queries or rendering. If the marker is not present in the datastore, this method should have no effect.

marker The marker to remove from the datastore

Note: requestRepaint is not called automatically. Call it after removal operations to update the display.

datastore.removeMarker(markerToRemove);
datastore.requestRepaint();

Implementation

void removeMarker(Marker<T> marker);