GmapDrawingManager
DrawingManager component
[See](source code) ,[See](Official documentation) ,[See](Official reference)
Props
| Prop name | Description | Type | Values | Default | 
|---|---|---|---|---|
| circleOptions | The circle options @seecircleOptions interface | object | - | undefined | 
| markerOptions | The marker options @seemarkerOptions interface | object | - | undefined | 
| polygonOptions | The polygon options @seepolygonOptions interface | object | - | undefined | 
| polylineOptions | The polyline options @seepolylineOptions interface | object | - | undefined | 
| rectangleOptions | The rectangle options @seerectangleOptions interface | object | - | undefined | 
| position | The position of the toolbar Possible values: 'TOP_CENTER', 'TOP_LEFT', 'TOP_RIGHT', 'LEFT_TOP', 'RIGHT_TOP', 'LEFT_CENTER',<br/>'RIGHT_CENTER', 'LEFT_BOTTOM', 'RIGHT_BOTTOM', 'BOTTOM_CENTER', 'BOTTOM_LEFT', 'BOTTOM_RIGHT' | string | - | '' | 
| shapes | An array of shapes that you can set to render in the map and saves on it the new shapes that you add. | array | - | 
Methods
setDrawingMode
The setDrawingMode method is binded into the default component slot
Params
| Param name | Type | Description | 
|---|---|---|
| mode | string | mode - Possible values 'marker', 'circle', 'polygon', 'polyline', 'rectangle', null | 
Return
| Type | Description | 
|---|---|
| void | 
deleteSelection
The deleteSelection method is binded into the default component slot
Params
| Param name | Type | Description | 
|---|---|---|
| mixed | It doesn't requires any parameter | 
Return
| Type | Description | 
|---|---|
| void | 
Events
| Event name | Properties | Description | 
|---|---|---|
| update:shapes | place array-this.finalShapes | update:shapes event | 
Slots
| Name | Description | Bindings | 
|---|---|---|
| default | Used to set your drawing manager |