Skip to content

gi-nx


gi-nx / DrawTool

ts
type DrawTool = {
  defaultProps?: object;
  tool:   | "ProjectBoundary"
     | "Grid"
     | "MapSelector"
     | "LineString"
     | "Point"
     | "Rectangle"
     | "Ramp"
     | "BPMove"
     | "BPRotate"
     | "Polygon"
     | "ChildPolygon"
     | "ChildLineString"
     | "GeometryFilterBoundary"
     | "Split"
     | "Eyedropper"
     | "Mirror"
     | "Lasso"
     | "MeasureDistance"
     | "MeasureArea"
     | "NewProjectBoundary"
     | "ChooseFeature"
     | "PushPull"
     | null;
};

Properties

PropertyTypeDescription
defaultProps?objectthe properties that will be added to the next rawsection that gets created
tool| "ProjectBoundary" | "Grid" | "MapSelector" | "LineString" | "Point" | "Rectangle" | "Ramp" | "BPMove" | "BPRotate" | "Polygon" | "ChildPolygon" | "ChildLineString" | "GeometryFilterBoundary" | "Split" | "Eyedropper" | "Mirror" | "Lasso" | "MeasureDistance" | "MeasureArea" | "NewProjectBoundary" | "ChooseFeature" | "PushPull" | null-