Merge pull request #8827 from schmidtk/remove-source-foreachfeatureatcoordinate

Removed unused forEachFeatureAtCoordinate from ol/source/Source
This commit is contained in:
Frédéric Junod
2018-10-17 15:09:37 +02:00
committed by GitHub
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.