flywave-draw-controls.mapdrawcontrols
Home > @flywave/flywave-draw-controls > MapDrawControls
MapDrawControls class
Signature:
export declare class MapDrawControls extends EventDispatcher<MapDrawControlsEventMap>
Extends: EventDispatcher<MapDrawControlsEventMap>
Constructors
Constructor | Modifiers | Description |
|---|---|---|
Constructs a new instance of the |
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
| MapControls | ||
| MapView |
Methods
Method | Modifiers | Description |
|---|---|---|
Add objects in batch | ||
Clear all objects | ||
| Create draw line object | |
| Create draw polygon object | |
| Create point object | |
Release resources | ||
Export as GeoJSON format | ||
Get canvas position | ||
Get height adjustment manager | ||
| Get drawing state (for MeasureToolControls use) | |
Get current drawing mode | ||
Get object by ID | ||
Get all objects | ||
Get point height | ||
| Get temporary object (for MeasureToolControls use) | |
| Get temporary vertices (for MeasureToolControls use) | |
| Get tile render data sources | |
Remove object | ||
Set drawing mode | ||
Set point height | ||
| Trigger label update (for subclass override) | |
Undo operation | ||
| Update drawing preview | |
| Update measurement label display (for MeasureToolControls use) | |
Set the visibility of the drawing controls |