Skip to content

Latest commit

 

History

History
88 lines (45 loc) · 2.32 KB

RectangleOptions.md

File metadata and controls

88 lines (45 loc) · 2.32 KB

See html formatted version

RectangleOptions interface

google.maps.RectangleOptions interface

RectangleOptions object used to define the properties that can be set on a Rectangle.

Properties

undefined

Type:  LatLngBounds|LatLngBoundsLiteral optional

The bounds.

undefined

Type:  boolean optional

Indicates whether this Rectangle handles mouse events. Defaults to true.

undefined

Type:  boolean optional

If set to true, the user can drag this rectangle over the map. Defaults to false.

undefined

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.

undefined

Type:  string optional

The fill color. All CSS3 colors are supported except for extended named colors.

undefined

Type:  number optional

The fill opacity between 0.0 and 1.0

undefined

Type:  Map optional

Map on which to display Rectangle.

undefined

Type:  string optional

The stroke color. All CSS3 colors are supported except for extended named colors.

undefined

Type:  number optional

The stroke opacity between 0.0 and 1.0

undefined

Type:  StrokePosition optional

The stroke position. Defaults to CENTER. This property is not supported on Internet Explorer 8 and earlier.

undefined

Type:  number optional

The stroke width in pixels.

undefined

Type:  boolean optional

Whether this rectangle is visible on the map. Defaults to true.

undefined

Type:  number optional

The zIndex compared to other polys.