Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "menu/react-hooks"

Index

Functions

Functions

Const useDrawingMenu

  • useDrawingMenu(__namedParameters: object): void
  • React hook for drawing menu functionality. Updates toolbox control with input from react component.

    Parameters

    • __namedParameters: object
      • defaultGeoProperties: undefined | object
      • geometry: null | Feature<Geometry | GeometryCollection, null | object> & object
      • isActive: boolean
      • onUpdate: function
      • shape: null | "Polygon" | "Bounding Box" | "Point Radius" | "Point" | "Line"
      • showCoordinateEditor: undefined | false | true
      • toolbox: DrawingToolbox

    Returns void

Generated using TypeDoc