getViewStateAndExtent() {
    return {
      viewState: this.getState(),
      extent: this.calculateExtent(),
    };
  }
@return {ViewStateLayerStateExtent} Like `FrameState`, but just `viewState` and `extent`.