Skip to content

Documentation / @geoverse/core-ol / EditorAdjustEvent

Class: EditorAdjustEvent

Defined in: packages/core-ol/src/interactions/featureEditor.ts:32

编辑调整事件(每次 modifyend 派发)

Extends

  • BaseEvent

Constructors

Constructor

ts
new EditorAdjustEvent(result, time): EditorAdjustEvent;

Defined in: packages/core-ol/src/interactions/featureEditor.ts:33

Parameters

result

| Feature<Geometry, { [x: string]: any; }> | Feature<Geometry, { [x: string]: any; }>[]

time

number

Returns

EditorAdjustEvent

Overrides

ts
BaseEvent.constructor

Properties

defaultPrevented

ts
defaultPrevented: boolean;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/events/Event.d.ts:35

Inherited from

ts
BaseEvent.defaultPrevented

propagationStopped

ts
propagationStopped: boolean;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/events/Event.d.ts:31

Inherited from

ts
BaseEvent.propagationStopped

result

ts
readonly result: 
  | Feature<Geometry, {
[x: string]: any;
}>
  | Feature<Geometry, {
[x: string]: any;
}>[];

Defined in: packages/core-ol/src/interactions/featureEditor.ts:34


target

ts
target: any;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/events/Event.d.ts:47

The event target.

Api

Inherited from

ts
BaseEvent.target

time

ts
readonly time: number;

Defined in: packages/core-ol/src/interactions/featureEditor.ts:35


type

ts
type: string;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/events/Event.d.ts:41

The event type.

Api

Inherited from

ts
BaseEvent.type

Methods

preventDefault()

ts
preventDefault(): void;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/events/Event.d.ts:53

Prevent default. This means that no emulated click, singleclick or doubleclick events will be fired.

Returns

void

Api

Inherited from

ts
BaseEvent.preventDefault

stopPropagation()

ts
stopPropagation(): void;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/events/Event.d.ts:58

Stop event propagation.

Returns

void

Api

Inherited from

ts
BaseEvent.stopPropagation