GmapPolygon
Polygon component
[See](source code) ,[See](official docs) ,[See](official reference)
Props
| Prop name | Description | Type | Values | Default | 
|---|---|---|---|---|
| deepWatch | If set true the object will be deep watched @valueboolean | boolean | - | false | 
| clickable | Indicates whether this Polygon handles mouse events. Defaults to true. @valuetrue, false@seePolygon draggable | boolean | - | false | 
| draggable | Indicates if the polygon is draggable @valuetrue, false@seePolygon dragable | boolean | - | false | 
| editable | Indicates if the polygon is editable @valuetrue, false@seePolygon editable | boolean | - | false | 
| fillColor | The fill color. All CSS3 colors are supported except for extended named colors. @value'#000'@seePolygon editable | string | - | '' | 
| fillOpacity | The fill opacity between 0.0 and 1.0 @value1@seePolygon editable | number | - | 1 | 
| strokeColor | The stroke color. All CSS3 colors are supported except for extended named colors. @value'#000'@seePolygon editable | string | - | '' | 
| strokeOpacity | The stroke opacity between 0.0 and 1.0. @value1@seePolygon editable | number | - | 1 | 
| strokePosition | The stroke position. Defaults to CENTER. @value1@seePolygon editable@seeStrokePosition constant | number | - | 0 | 
| strokeWeight | The stroke width in pixels. @value1@seePolygon editable | number | - | 1 | 
| visible | Whether this polyline is visible on the map. Defaults to true. @value1@seePolygon editable | boolean | - | true | 
| options | More options that you can pass to the component @valueboolean | object | - | undefined | 
| path | Indicates if the polygon is editable @valueArray@seePolygon path | array | - | undefined | 
| paths | Indicates if the polygon is editable @valueArray@seePolygon paths | array | - | undefined | 
Events
| Event name | Properties | Description | 
|---|---|---|
| paths_changed | paths array-this.$polygonObject.getPaths()| | An event to detect when a paths changes | 
| path_changed | path array-this.$polygonObject.getPath() | ### path_changed (undefined) An event to detect when a path change |