hasFeatureAtPixel(pixel, options) {
    if (!this.frameState_ || !this.renderer_) {
      return false;
    }
    const coordinate = this.getCoordinateFromPixelInternal(pixel);
    options = options !== undefined ? options : {};
    const layerFilter =
      options.layerFilter !== undefined ? options.layerFilter : TRUE;
    const hitTolerance =
      options.hitTolerance !== undefined ? options.hitTolerance : 0;
    const checkWrapped = options.checkWrapped !== false;
    return this.renderer_.hasFeatureAtCoordinate(
      coordinate,
      this.frameState_,
      hitTolerance,
      checkWrapped,
      layerFilter,
      null,
    );
  }
Detect if features intersect a pixel on the viewport. Layers included in the
detection can be configured through the `layerFilter` option.
For polygons without a fill, only the stroke will be used for hit detection.
Polygons must have a fill style applied to ensure that pixels inside a polygon are detected.
The fill can be transparent.
@param {import("./pixel.js").Pixel} pixel Pixel.
@param {AtPixelOptions} [options] Optional options.
@return {boolean} Is there a feature at the given pixel?
@api