UNPKG

ole

Version:

OpenLayers Editor

23 lines (22 loc) 600 B
export default Union; /** * Control for creating a union of geometries. * @extends {Control} * @alias ole.Union */ declare class Union { /** * @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 union for given features. * @param {Array.<ol.Feature>} features Features to union. */ applyTopologyOperation(features: Array<ol.Feature>): void; }