Removed unused forEachFeatureAtCoordinate from ol/source/Source

Fixes #8826.
This commit is contained in:
Kevin Schmidt
2018-10-16 10:30:09 -06:00
parent a85099a36b
commit df4ef724b6
3 changed files with 43 additions and 97 deletions

View File

@@ -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.