removeROI (uid) {
    console.info(`remove ROI ${uid}`)
    const feature = this[_drawingSource].getFeatureById(uid)

    if (feature) {
      this[_features].remove(feature)
      return
    }

    /**
     * If failed to draw/cache feature in drawing source, call onFailure
     * to avoid trash of broken annotations
     */
    this[_annotationManager].onFailure(uid)
  }
/**
   * Removes an individual regions of interest.
   *
   * @param {string} uid - Unique identifier of the region of interest
   */
Removes an individual regions of interest.
@param {string} uid - Unique identifier of the region of interest
Removes an individual regions of interest . @param { string } uid - Unique identifier of the region of interest
removeROI (uid) {
    console.info(`remove ROI ${uid}`)
    const feature = this[_drawingSource].getFeatureById(uid)
    if (feature) {
      this[_features].remove(feature)
      return
    }
    this[_annotationManager].onFailure(uid)
  }
removeROI ( uid ) { console . info ( ` ${ uid } ` ) const feature = this [ _drawingSource ] . getFeatureById ( uid ) if ( feature ) { this [ _features ] . remove ( feature ) return } this [ _annotationManager ] . onFailure ( uid ) }
Removes an individual regions of interest.
Removes an individual regions of interest .
/**
     * If failed to draw/cache feature in drawing source, call onFailure
     * to avoid trash of broken annotations
     */