google.maps.RectangleOptions interface
RectangleOptions object used to define the properties that can be set on a Rectangle.
Properties
Type: LatLngBounds|LatLngBoundsLiteral optional
The bounds.
Type: boolean optional
Indicates whether this Rectangle handles mouse events. Defaults to true.
Type: boolean optional
If set to true, the user can drag this rectangle over the map. Defaults to false.
Type: boolean optional
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.
Type: string optional
The fill color. All CSS3 colors are supported except for extended named colors.
Type: number optional
The fill opacity between 0.0 and 1.0
Type: Map optional
Map on which to display Rectangle.
Type: string optional
The stroke color. All CSS3 colors are supported except for extended named colors.
Type: number optional
The stroke opacity between 0.0 and 1.0
Type: StrokePosition optional
The stroke position. Defaults to CENTER. This property is not supported on Internet Explorer 8 and earlier.
Type: number optional
The stroke width in pixels.
Type: boolean optional
Whether this rectangle is visible on the map. Defaults to true.
Type: number optional
The zIndex compared to other polys.