import { Map as _ol_Map_ } from 'ol'; import Collection from 'ol/Collection'; import { Coordinate } from 'ol/coordinate'; import Feature from 'ol/Feature'; import { Style } from 'ol/style'; import { Interaction, Draw, Modify } from 'ol/interaction'; export interface Options { pixelTolerance: number; enableInitialGuides: boolean; style: Style | Style[] | undefined; } /** Interaction to snap to guidelines * @constructor * @extends {Interaction} * @param {olx.interaction.SnapGuidesOptions} * - pixelTolerance {number | undefined} distance (in px) to snap to a guideline, default 10 px * - enableInitialGuides {bool | undefined} whether to draw initial guidelines based on the maps orientation, default false. * - style {Style | Array