getBackground(frameState) {
    const layer = this.getLayer();
    let background = layer.getBackground();
    if (typeof background === 'function') {
      background = background(frameState.viewState.resolution);
    }
    return background || undefined;
  }
@param {import('../../Map.js').FrameState} frameState Frame state.
@return {string} Background color.