activateSelectInteraction (options = {}) {
    this.deactivateSelectInteraction()

    console.info('activate "select" interaction')

    const selectOptions = { layers: [this[_drawingLayer]] }

    /**
     * Get conditional mouse bindings
     * See "options.binding" comment in activateDrawInteraction() definition.
     */
    if (options.bindings) {
      selectOptions.condition = _getInteractionBindingCondition(
        options.bindings
      )
    }

    this[_interactions].select = new Select(selectOptions)

    const container = this[_map].getTargetElement()

    this[_interactions].select.on('select', (e) => {
      publish(
        container,
        EVENT.ROI_SELECTED,
        this._getROIFromFeature(e.selected[0], this[_pyramidMetadata])
      )
    })

    this[_map].addInteraction(this[_interactions].select)
  }
/**
   * Activates select interaction.
   *
   * @param {object} options selection options.
   */
Activates select interaction.
@param {object} options selection options.
Activates select interaction . @param { object } options selection options .
activateSelectInteraction (options = {}) {
    this.deactivateSelectInteraction()
    console.info('activate "select" interaction')
    const selectOptions = { layers: [this[_drawingLayer]] }
    if (options.bindings) {
      selectOptions.condition = _getInteractionBindingCondition(
        options.bindings
      )
    }
    this[_interactions].select = new Select(selectOptions)
    const container = this[_map].getTargetElement()
    this[_interactions].select.on('select', (e) => {
      publish(
        container,
        EVENT.ROI_SELECTED,
        this._getROIFromFeature(e.selected[0], this[_pyramidMetadata])
      )
    })
    this[_map].addInteraction(this[_interactions].select)
  }
activateSelectInteraction ( options = { } ) { this . deactivateSelectInteraction ( ) console . info ( 'activate "select" interaction' ) const selectOptions = { layers : [ this [ _drawingLayer ] ] } if ( options . bindings ) { selectOptions . condition = _getInteractionBindingCondition ( options . bindings ) } this [ _interactions ] . select = new Select ( selectOptions ) const container = this [ _map ] . getTargetElement ( ) this [ _interactions ] . select . on ( 'select' , ( e ) => { publish ( container , EVENT . ROI_SELECTED , this . _getROIFromFeature ( e . selected [ 0 ] , this [ _pyramidMetadata ] ) ) } ) this [ _map ] . addInteraction ( this [ _interactions ] . select ) }
Activates select interaction.
Activates select interaction .
/**
     * Get conditional mouse bindings
     * See "options.binding" comment in activateDrawInteraction() definition.
     */