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

Optional bounds

The bounds.

Optional clickable

clickable?: null | boolean

Indicates whether this Rectangle handles mouse events.

defaultvalue

true

Optional draggable

draggable?: null | boolean

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

defaultvalue

false

Optional editable

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

Optional fillColor

fillColor?: null | string

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

Optional fillOpacity

fillOpacity?: null | number

The fill opacity between 0.0 and 1.0

Optional map

map?: null | Map

Map on which to display Rectangle.

Optional strokeColor

strokeColor?: null | string

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

Optional strokeOpacity

strokeOpacity?: null | number

The stroke opacity between 0.0 and 1.0

Optional strokePosition

strokePosition?: null | StrokePosition

The stroke position.

defaultvalue

google.maps.StrokePosition.CENTER

Optional strokeWeight

strokeWeight?: null | number

The stroke width in pixels.

Optional visible

visible?: null | boolean

Whether this rectangle is visible on the map.

defaultvalue

true

Optional zIndex

zIndex?: null | number

The zIndex compared to other polys.

Generated using TypeDoc