Type alias StyleOptions

StyleOptions: {
    localIdeographFontFamily?: string | false;
    validate?: boolean;
}

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

Type declaration

  • Optional localIdeographFontFamily?: string | false

    Defines a CSS font-family for locally overriding generation of glyphs in the 'CJK Unified Ideographs', 'Hiragana', 'Katakana' and 'Hangul Syllables' ranges. In these ranges, 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.

  • Optional validate?: boolean

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