Skip to content

Latest commit

 

History

History
94 lines (48 loc) · 2.93 KB

Data.StyleOptions.md

File metadata and controls

94 lines (48 loc) · 2.93 KB

See html formatted version

Data.StyleOptions interface

google.maps.Data.StyleOptions interface

These options specify the way a Feature should appear when displayed on a map.

Properties

undefined

Type:  boolean optional

If true, the marker receives mouse and touch events. Default value is true.

undefined

Type:  string optional

Mouse cursor to show on hover. Only applies to point geometries.

undefined

Type:  boolean optional

If true, the object can be dragged across the map and the underlying feature will have its geometry updated. Default value is false.

undefined

Type:  boolean optional

If true, the object can be edited by dragging control points and the underlying feature will have its geometry updated. Only applies to LineString and Polygon geometries. Default value is false.

undefined

Type:  string optional

The fill color. All CSS3 colors are supported except for extended named colors. Only applies to polygon geometries.

undefined

Type:  number optional

The fill opacity between 0.0 and 1.0. Only applies to polygon geometries.

undefined

Type:  string|Icon|Symbol optional

Icon for the foreground. If a string is provided, it is treated as though it were an Icon with the string as url. Only applies to point geometries.

undefined

Type:  MarkerShape optional

Defines the image map used for hit detection. Only applies to point geometries.

undefined

Type:  string optional

The stroke color. All CSS3 colors are supported except for extended named colors. Only applies to line and polygon geometries.

undefined

Type:  number optional

The stroke opacity between 0.0 and 1.0. Only applies to line and polygon geometries.

undefined

Type:  number optional

The stroke width in pixels. Only applies to line and polygon geometries.

undefined

Type:  string optional

Rollover text. Only applies to point geometries.

undefined

Type:  boolean optional

Whether the feature is visible. Defaults to true.

undefined

Type:  number optional

All features are displayed on the map in order of their zIndex, with higher values displaying in front of features with lower values. Markers are always displayed in front of line-strings and polygons.