removeLayer method
Implementation
@override
void removeLayer(int id) {
layers.removeWhere((l) => l.id == id);
removeWhere(
(component) => component is TileLayerComponent && component.id == id,
);
_confMap(lastSizeScreen!, calculateSize: true);
refreshMap();
}