Pass geometry to forEachFeatureAtPixel callback
This commit is contained in:
@@ -6,6 +6,11 @@ import GeometryType from '../geom/GeometryType.js';
|
||||
import ImageState from '../ImageState.js';
|
||||
import {getUid} from '../util.js';
|
||||
|
||||
/**
|
||||
* @template T
|
||||
* @typedef {function(import("../Feature.js").FeatureLike, import("../layer/Layer.js").default, import("../geom/SimpleGeometry.js").default): T} FeatureCallback
|
||||
*/
|
||||
|
||||
/**
|
||||
* Tolerance for geometry simplification in device pixels.
|
||||
* @type {number}
|
||||
|
||||
Reference in New Issue
Block a user