removeSelectedLayer method

bool removeSelectedLayer()

删除当前选中的图层

Implementation

bool removeSelectedLayer() {
  if (_selectedLayerId != null) {
    return removeLayer(_selectedLayerId!);
  }
  return false;
}