removeFeatureInternal(feature) {
    const featureKey = getUid(feature);
    this.featureChangeKeys_[featureKey].forEach(unlistenByKey);
    delete this.featureChangeKeys_[featureKey];
    const id = feature.getId();
    if (id !== undefined) {
      delete this.idIndex_[id.toString()];
    }
    delete this.uidIndex_[featureKey];
    this.dispatchEvent(
      new VectorSourceEvent(VectorEventType.REMOVEFEATURE, feature)
    );
  }
/**
   * Remove feature without firing a `change` event.
   * @param {import("../Feature.js").default<Geometry>} feature Feature.
   * @protected
   */
Remove feature without firing a `change` event.
Remove feature without firing a ` change ` event .
removeFeatureInternal(feature) {
    const featureKey = getUid(feature);
    this.featureChangeKeys_[featureKey].forEach(unlistenByKey);
    delete this.featureChangeKeys_[featureKey];
    const id = feature.getId();
    if (id !== undefined) {
      delete this.idIndex_[id.toString()];
    }
    delete this.uidIndex_[featureKey];
    this.dispatchEvent(
      new VectorSourceEvent(VectorEventType.REMOVEFEATURE, feature)
    );
  }
removeFeatureInternal ( feature ) { const featureKey = getUid ( feature ) ; this . featureChangeKeys_ [ featureKey ] . forEach ( unlistenByKey ) ; delete this . featureChangeKeys_ [ featureKey ] ; const id = feature . getId ( ) ; if ( id !== undefined ) { delete this . idIndex_ [ id . toString ( ) ] ; } delete this . uidIndex_ [ featureKey ] ; this . dispatchEvent ( new VectorSourceEvent ( VectorEventType . REMOVEFEATURE , feature ) ) ; }
Remove feature without firing a `change` event.
Remove feature without firing a ` change ` event .