clearDecorationLayer method

bool clearDecorationLayer(
  1. String layerKey
)

Implementation

bool clearDecorationLayer(String layerKey) {
  if (!_decorationLayers.containsKey(layerKey)) {
    return false;
  }
  _decorationLayers.remove(layerKey);
  _rebuildDecorations();
  return true;
}