Search results

Font API in JavaScript (ES5) Maps API control

Gets or sets the options to customize the style of the text in data label, legend and other texts in maps.

Properties

color

string

Gets or sets the color for the text in data label, legend and other texts in maps.

fontFamily

string

Gets or sets the font family of the text in data label, legend and other texts in maps.

fontStyle

string

Gets or sets the style of the text in data label, legend and other texts in maps.

fontWeight

string

Gets or sets the font weight of the text in data label, legend and other texts in maps.

opacity

number

Gets or sets the opacity for the text in data label, legend and other texts in maps.

Defaults to 1

size

string

Gets or sets the size for the text in data label, legend and other texts.