Removed unused forEachFeatureAtCoordinate from ol/source/Source
Fixes #8826.
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
* @module ol/source/Source
|
||||
*/
|
||||
|
||||
import {VOID} from '../functions.js';
|
||||
import BaseObject from '../Object.js';
|
||||
import {get as getProjection} from '../proj.js';
|
||||
import SourceState from './State.js';
|
||||
@@ -173,18 +172,6 @@ class Source extends BaseObject {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
|
||||
* @param {number} resolution Resolution.
|
||||
* @param {number} rotation Rotation.
|
||||
* @param {number} hitTolerance Hit tolerance in pixels.
|
||||
* @param {Object<string, boolean>} skippedFeatureUids Skipped feature uids.
|
||||
* @param {function(import("../Feature.js").FeatureLike): T} callback Feature callback.
|
||||
* @return {T|void} Callback result.
|
||||
* @template T
|
||||
*/
|
||||
Source.prototype.forEachFeatureAtCoordinate = VOID;
|
||||
|
||||
|
||||
/**
|
||||
* Turns the attributions option into an attributions function.
|
||||
|
||||
Reference in New Issue
Block a user