removeLayer(layer) {
    const layers = this.getLayerGroup().getLayers();
    return layers.remove(layer);
  }
Removes the given layer from the map.
@param {import("./layer/Base.js").default} layer Layer.
@return {import("./layer/Base.js").default|undefined} The removed layer (or undefined if the
    layer was not found).
@api