UNPKG

ole

Version:

OpenLayers Editor

33 lines (32 loc) 847 B
/** * DeleteEventType DELETE */ export type DeleteEventType = string; export namespace DeleteEventType { let DELETE: string; } /** * Events emitted by the snap interaction of cad control instances are * instances of this type. * @ignore */ export default class DeleteEvent extends Event { /** * @inheritdoc * @param {DeleteEventType} type Type. * @param {Feature} feature The feature snapped. * @param {MapBrowserPointerEvent} mapBrowserPointerEvent * @ignore */ constructor(type: DeleteEventType, features: any, mapBrowserPointerEvent: MapBrowserPointerEvent); /** * The features being deleted. * @type {Features} */ features: Features; /** * @type {MapBrowserPointerEvent} */ mapBrowserEvent: MapBrowserPointerEvent; } import Event from 'ol/events/Event';