import type { Map as _ol_Map_ } from 'ol' import type { Style } from 'ol/style' import type { Options as ControlOptions } from 'ol/control/Control' import CanvasBase from './CanvasBase' export interface Options extends ControlOptions { style: Style | Style[]; // not compatible with CanvasBase composite: string; // In globalCompositeOperation in TS is also string } /** contrTarget draw a target at the center of the map. * @constructor * @extends {contrCanvasBase} */ export default class Target extends CanvasBase { /** * @param {Object} options * @param {Style|Array