gi-nx / setDrawTool
ts
function setDrawTool(tool: {
defaultProps?: object;
tool: | "LineString"
| "Point"
| "Polygon"
| "ProjectBoundary"
| "Grid"
| "MapSelector"
| "Rectangle"
| "Ramp"
| "BPMove"
| "BPRotate"
| "ChildPolygon"
| "ChildLineString"
| "GeometryFilterBoundary"
| "Split"
| "Eyedropper"
| "Mirror"
| "Lasso"
| "MeasureDistance"
| "MeasureArea"
| "NewProjectBoundary"
| "ChooseFeature"
| "PushPull";
}): void;Parameters
| Parameter | Type | Description |
|---|---|---|
tool.defaultProps? | object | the properties that will be added to the next rawsection that gets created |
tool.tool | | "LineString" | "Point" | "Polygon" | "ProjectBoundary" | "Grid" | "MapSelector" | "Rectangle" | "Ramp" | "BPMove" | "BPRotate" | "ChildPolygon" | "ChildLineString" | "GeometryFilterBoundary" | "Split" | "Eyedropper" | "Mirror" | "Lasso" | "MeasureDistance" | "MeasureArea" | "NewProjectBoundary" | "ChooseFeature" | "PushPull" | - |
Returns
void
void