Options
All
  • Public
  • Public/Protected
  • All
Menu

Drawing controls create drawing interactions and provides a standard for managing the life-cycle of drawing interactions to facilitate use in React applications.

Hierarchy

  • DrawingControl

Implemented by

Index

Methods

cancelDrawing

  • cancelDrawing(): void

isActive

  • isActive(): boolean

isDrawing

  • isDrawing(): boolean

isMouseDragActive

  • isMouseDragActive(): boolean

setActive

  • setActive(active: boolean): void
  • Pauses and un-pauses the drawing interaction while continuing to render the drawn geometries

    Parameters

    • active: boolean

      true if the drawing interaction should be active

    Returns void

setGeo

  • Sets the geometry to be rendered in the drawing control allowing the user to modify an existing geometry. Note: This will call startDrawing() if it hasn't already been called.

    Parameters

    Returns void

setProperties

  • setProperties(properties: object): void

startDrawing

  • startDrawing(): void

Generated using TypeDoc