Skip to content

Latest commit

 

History

History
40 lines (21 loc) · 1.1 KB

MarkerLabel.md

File metadata and controls

40 lines (21 loc) · 1.1 KB

See html formatted version

MarkerLabel interface

google.maps.MarkerLabel interface

These options specify the appearance of a marker label. A marker label is a string (often a single character) which will appear inside the marker. If you are using it with a custom marker, you can reposition it with the labelOrigin property in the Icon class.

Properties

undefined

Type:  string optional

The color of the label text. Default color is black.

undefined

Type:  string optional

The font family of the label text (equivalent to the CSS font-family property).

undefined

Type:  string optional

The font size of the label text (equivalent to the CSS font-size property). Default size is 14px.

undefined

Type:  string optional

The font weight of the label text (equivalent to the CSS font-weight property).

undefined

Type:  string

The text to be displayed in the label.