update({ viewport }) {
    const layer = this.div;
    this.viewport = viewport;
    setLayerDimensions(layer, { rotation: viewport.rotation });

    this.#setAnnotationCanvasMap();
    layer.hidden = false;
  }
Update the annotation elements on existing annotation layer.

@param {AnnotationLayerParameters} viewport
@memberof AnnotationLayer