Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DrawEvent

classdesc

Events emitted by {@link module:ol/interaction/Draw~Draw} instances are instances of this type.

Hierarchy

  • BaseEvent
    • DrawEvent

Index

Constructors

constructor

  • new DrawEvent(type: string, feature: Feature<Geometry>): DrawEvent

Properties

propagationStopped

propagationStopped: boolean

target

target: any

The event target.

api

type

type: string

The event type.

api

Methods

preventDefault

  • preventDefault(): void
  • Stop event propagation.

    api

    Returns void

stopPropagation

  • stopPropagation(): void
  • Stop event propagation.

    api

    Returns void

Generated using TypeDoc