forEachFeatureAtCoordinateDirect(coordinate, callback) {
    const extent = [coordinate[0], coordinate[1], coordinate[0], coordinate[1]];
    return this.forEachFeatureInExtent(extent, function (feature) {
      const geometry = feature.getGeometry();
      if (geometry.intersectsCoordinate(coordinate)) {
        return callback(feature);
      } else {
        return undefined;
      }
    });
  }
/**
   * Iterate through all features whose geometries contain the provided
   * coordinate, calling the callback with each feature.  If the callback returns
   * a "truthy" value, iteration will stop and the function will return the same
   * value.
   *
   * @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
   * @param {function(import("../Feature.js").default<Geometry>): T} callback Called with each feature
   *     whose goemetry contains the provided coordinate.
   * @return {T|undefined} The return value from the last call to the callback.
   * @template T
   */
Iterate through all features whose geometries contain the provided
coordinate, calling the callback with each feature.  If the callback returns
a "truthy" value, iteration will stop and the function will return the same
value.


Iterate through all features whose geometries contain the provided coordinate calling the callback with each feature . If the callback returns a " truthy " value iteration will stop and the function will return the same value .
forEachFeatureAtCoordinateDirect(coordinate, callback) {
    const extent = [coordinate[0], coordinate[1], coordinate[0], coordinate[1]];
    return this.forEachFeatureInExtent(extent, function (feature) {
      const geometry = feature.getGeometry();
      if (geometry.intersectsCoordinate(coordinate)) {
        return callback(feature);
      } else {
        return undefined;
      }
    });
  }
forEachFeatureAtCoordinateDirect ( coordinate , callback ) { const extent = [ coordinate [ 0 ] , coordinate [ 1 ] , coordinate [ 0 ] , coordinate [ 1 ] ] ; return this . forEachFeatureInExtent ( extent , function ( feature ) { const geometry = feature . getGeometry ( ) ; if ( geometry . intersectsCoordinate ( coordinate ) ) { return callback ( feature ) ; } else { return undefined ; } } ) ; }
Iterate through all features whose geometries contain the provided
 coordinate, calling the callback with each feature.
Iterate through all features whose geometries contain the provided coordinate calling the callback with each feature .