Skip to content

StyleOptions

StyleOptions = object

Defined in: src/style/style.ts:93

The options object related to the Map's style related methods

Properties

localIdeographFontFamily?

optional localIdeographFontFamily: string | false

Defined in: src/style/style.ts:105

Defines a CSS font-family for locally overriding generation of Chinese, Japanese, and Korean characters. For these characters, font settings from the map's style will be ignored, except for font-weight keywords (light/regular/medium/bold). Set to false, to enable font settings from the map's style for these glyph ranges. Forces a full update.


validate?

optional validate: boolean

Defined in: src/style/style.ts:97

If false, style validation will be skipped. Useful in production environment.