render (options) {
    if (!('container' in options)) {
      console.error('container must be provided for rendering images')
    }
    this[_map].setTarget(options.container)
    const view = this[_map].getView()
    const projection = view.getProjection()
    view.fit(projection.getExtent(), { size: this[_map].getSize() })

    this[_map].getInteractions().forEach((interaction) => {
      this[_map].removeInteraction(interaction)
    })
  }
/** Renders the image in the specified viewport container.
   * @param {object} options - Rendering options.
   * @param {(string|HTMLElement)} options.container - HTML Element in which the viewer should be injected.
   */
Renders the image in the specified viewport container.
@param {object} options - Rendering options.
@param {(string|HTMLElement)} options.container - HTML Element in which the viewer should be injected.
Renders the image in the specified viewport container . @param { object } options - Rendering options . @param { ( string|HTMLElement ) } options . container - HTML Element in which the viewer should be injected .
render (options) {
    if (!('container' in options)) {
      console.error('container must be provided for rendering images')
    }
    this[_map].setTarget(options.container)
    const view = this[_map].getView()
    const projection = view.getProjection()
    view.fit(projection.getExtent(), { size: this[_map].getSize() })
    this[_map].getInteractions().forEach((interaction) => {
      this[_map].removeInteraction(interaction)
    })
  }
render ( options ) { if ( ! ( 'container' in options ) ) { console . error ( 'container must be provided for rendering images' ) } this [ _map ] . setTarget ( options . container ) const view = this [ _map ] . getView ( ) const projection = view . getProjection ( ) view . fit ( projection . getExtent ( ) , { size : this [ _map ] . getSize ( ) } ) this [ _map ] . getInteractions ( ) . forEach ( ( interaction ) => { this [ _map ] . removeInteraction ( interaction ) } ) }
Renders the image in the specified viewport container.
Renders the image in the specified viewport container .