ole
Version:
OpenLayers Editor
23 lines (22 loc) • 609 B
TypeScript
export default Intersection;
/**
* Control for intersection geometries.
* @extends {Control}
* @alias ole.Intersection
*/
declare class Intersection {
/**
* @inheritdoc
* @param {Object} [options] Control options.
* @param {number} [options.hitTolerance] Select tolerance in pixels
* (default is 10)
*/
constructor(options?: {
hitTolerance?: number | undefined;
} | undefined);
/**
* Intersect given features.
* @param {Array.<ol.Feature>} features Features to inersect.
*/
applyTopologyOperation(features: Array<ol.Feature>): void;
}