Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • RectangleOptions

Index

Properties

The bounds.

clickable?: null | boolean

Indicates whether this Rectangle handles mouse events.

defaultvalue

true

draggable?: null | boolean

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

defaultvalue

false

editable?: null | boolean

If set to true, the user can edit this rectangle by dragging the control points shown at the corners and on each edge.

defaultvalue

false

fillColor?: null | string

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

fillOpacity?: null | number

The fill opacity between 0.0 and 1.0

map?: null | Map

Map on which to display Rectangle.

strokeColor?: null | string

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

strokeOpacity?: null | number

The stroke opacity between 0.0 and 1.0

strokePosition?: null | StrokePosition

The stroke position.

defaultvalue

google.maps.StrokePosition.CENTER

strokeWeight?: null | number

The stroke width in pixels.

visible?: null | boolean

Whether this rectangle is visible on the map.

defaultvalue

true

zIndex?: null | number

The zIndex compared to other polys.

Generated using TypeDoc