Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

activeAction

activeAction: DrawAction

A reference to the active draw action.

Read more...

declaredClass

declaredClass: string

destroyed

destroyed: boolean

initialized

initialized: boolean

view

view: MapView

A reference to the MapView.

Read more...

Methods

Protected _get

  • _get(propertyName: string): any
  • _get<T>(propertyName: string): T
  • Parameters

    • propertyName: string

    Returns any

  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

Protected _set

  • _set<T>(propertyName: string, value: T): Draw
  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns Draw

complete

  • complete(): void
  • Complete the current active drawing.

    Read more...

    Returns void

create

  • create(drawAction: "polygon" | "point" | "multipoint" | "polyline" | "circle" | "ellipse" | "rectangle", drawOptions?: DrawCreateDrawOptions): DrawAction
  • Creates an instance of the requested draw action.

    Read more...

    Parameters

    • drawAction: "polygon" | "point" | "multipoint" | "polyline" | "circle" | "ellipse" | "rectangle"
    • Optional drawOptions: DrawCreateDrawOptions

    Returns DrawAction

destroy

  • destroy(): void
  • Returns void

get

  • get<T>(propertyName: string): T
  • get(propertyName: string): any
  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

reset

  • reset(): void
  • Resets the drawing by clearing the active action.

    Read more...

    Returns void

set

  • set<T>(propertyName: string, value: T): Draw
  • set(props: HashMap<any>): Draw
  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns Draw

  • Parameters

    Returns Draw

watch

  • Parameters

    • path: string | string[]
    • callback: WatchCallback
    • Optional sync: boolean

    Returns WatchHandle

Generated using TypeDoc