GmapRectangle
Rectangle component
[See](source code) ,[See](official docs) ,[See](official reference)
Props
| Prop name | Description | Type | Values | Default |
|---|---|---|---|---|
| bounds | The bounds.@value object@type LatLngBounds|LatLngBoundsLiteral@see Rectangle bounds | object | - | undefined |
| clickable | Indicates whether this Polygon handles mouse events. Defaults to true.@value true, false@see Rectangle draggable | boolean | - | false |
| draggable | If set to true, the user can drag this rectangle over the map. Defaults to false.@value boolean@see Rectangle draggable | boolean | - | false |
| editable | If set to true, the user can edit this rectangle by dragging the control points shown at the corners and on each edge. Defaults to false.@value boolean@see Rectangle editable | boolean | - | false |
| fillColor | The fill color. All CSS3 colors are supported except for extended named colors.@value '#000'@see Rectangle editable | string | - | '' |
| fillOpacity | The fill opacity between 0.0 and 1.0@value 1@see Rectangle editable | number | - | 1 |
| strokeColor | The stroke color. All CSS3 colors are supported except for extended named colors.@value '#000'@see Rectangle editable | string | - | '' |
| strokeOpacity | The stroke opacity between 0.0 and 1.0.@value 1@see Rectangle editable | number | - | 1 |
| strokePosition | The stroke position. Defaults to CENTER.@value 1@see Rectangle editable@see StrokePosition constant | number | - | 0 |
| strokeWeight | The stroke width in pixels.@value 1@see Rectangle editable | number | - | 1 |
| visible | Whether this polyline is visible on the map. Defaults to true.@value 1@see Rectangle editable | boolean | - | true |
| options | More options that you can pass to the component@value boolean | object | - | undefined |