static isSameFeatureInfo(first, second) {
    if (first.length !== second.length) {
      return false;
    }

    const firstFeatures = first.map((f) => f.features).flat();
    const secondFeatures = second.map((s) => s.features).flat();

    if (firstFeatures.length !== secondFeatures.length) {
      return false;
    }

    return firstFeatures.every((f, i) => secondFeatures[i] === f);
  }
/**
   * Compare 2 feature info objects and return true
   * if they are the same.
   * @private
   */
Compare 2 feature info objects and return true
if they are the same.
@private
Compare 2 feature info objects and return true if they are the same . @private
static isSameFeatureInfo(first, second) {
    if (first.length !== second.length) {
      return false;
    }
    const firstFeatures = first.map((f) => f.features).flat();
    const secondFeatures = second.map((s) => s.features).flat();
    if (firstFeatures.length !== secondFeatures.length) {
      return false;
    }
    return firstFeatures.every((f, i) => secondFeatures[i] === f);
  }
static isSameFeatureInfo ( first , second ) { if ( first . length !== second . length ) { return false ; } const firstFeatures = first . map ( ( f ) => f . features ) . flat ( ) ; const secondFeatures = second . map ( ( s ) => s . features ) . flat ( ) ; if ( firstFeatures . length !== secondFeatures . length ) { return false ; } return firstFeatures . every ( ( f , i ) => secondFeatures [ i ] === f ) ; }
Compare 2 feature info objects and return true
 if they are the same.
Compare 2 feature info objects and return true if they are the same .