External module "menu/react-hooks"
Functions
Const useDrawingMenu
- useDrawingMenu(__namedParameters: object): void
-
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
-
Returns void
React hook for drawing menu functionality. Updates toolbox control with input from react component.