import { Map as _ol_Map_ } from 'ol'; import { Coordinate } from 'ol/coordinate'; import { Vector as VectorSource } from 'ol/source'; import { Style } from 'ol/style'; import GeometryType from 'ol/geom/GeometryType'; import CenterTouch from './CenterTouch'; export interface Options { source: VectorSource | undefined; type: GeometryType; tap: boolean; targetStyle: Style | Style[]; composite: string; } /** Interaction DrawTouch : * @constructor * @extends {interaction.CenterTouch} * @param {olx.interaction.DrawOptions} options * - source {VectorSource | undefined} Destination source for the drawn features. * - type {GeometryType} Drawing type ('Point', 'LineString', 'Polygon') not ('MultiPoint', 'MultiLineString', 'MultiPolygon' or 'Circle'). Required. * - tap {boolean} enable on tap, default true * Inherited params * - targetStyle {Style|Array