UNPKG

ole

Version:

OpenLayers Editor

23 lines (22 loc) 626 B
export default Difference; /** * Control for creating a difference of geometries. * @extends {Control} * @alias ole.Difference */ declare class Difference { /** * @inheritdoc * @param {Object} [options] Control options. * @param {number} [options.hitTolerance] Select tolerance in pixels * (default is 10) */ constructor(options?: { hitTolerance?: number | undefined; } | undefined); /** * Apply a difference operation for given features. * @param {Array.<ol.Feature>} features Features. */ applyTopologyOperation(features: Array<ol.Feature>): void; }