class
DrawPointTool
implements ITool
Point placement tool. Click to place a point feature.
Constructor
new DrawPointTool(options: DrawPointToolOptions) | Parameter | Type | Description | |
|---|---|---|---|
options | DrawPointToolOptions | required | Tool configuration |
DrawPointToolOptions
| Field | Type | Description | |
|---|---|---|---|
targetLayer | ITargetLayer | required | Layer to add drawn features to |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
id | 'draw-point' | readonly | Tool ID |
name | 'Draw Point' | readonly | Display name |