OptionalbaseThe base URL for loading external resources like tiles, sprites, and fonts.
OptionalboundsThe bounding box for the map, formatted as [sw.lng, sw.lat, ne.lng, ne.lat].
OptionalcolorsAn object specifying overrides for default color values, keyed by the color names. See also: StyleBuilderColors
OptionalelevationURL to elevation TileJSON used for terrain and hillshade.
Defaults to /tiles/elevation/tiles.json (resolved against baseUrl) when terrain or hillshade is enabled.
Only consulted if terrain or hillshade is set.
OptionalexperimentalOptions for activating experimental features.
OptionalfontsAn object specifying overrides for default font names, keyed by the font names. See also: StyleBuilderFonts
OptionalglyphsThe URL template for loading font glyphs, formatted with '{fontstack}' and '{range}' placeholders.
OptionalhideIf set to true, hides all map labels.
OptionalhillshadeEnable a hillshade layer. Pass true for defaults or an object for custom paint properties.
When set, the returned style is a Promise because the elevation TileJSON must be fetched.
OptionaliconMultiplier applied to every symbol layer's icon-size.
Symbol layers that have an icon-image but no explicit icon-size get icon-size: iconScale
(MapLibre's spec default is 1).
OptionallanguageSet the language ('en', 'de', ...) of all map labels. A null value means that the language of the country in which the label is drawn will be used. See also: Language
OptionallanguageWhen true, labels are shown only in the language set by language and left blank
for features that have no translation in that language.
When false (default), falls back to the local name and then English.
Has no effect when language is null/empty.
OptionalrecolorOptions for color adjustments and transformations applied to the entire style. See also: RecolorOptions
OptionalspriteThe URL for loading sprite images and metadata.
OptionalterrainEnable 3D terrain. Pass true for defaults or an object for a custom exaggeration.
When set, the returned style is a Promise because the elevation TileJSON must be fetched.
OptionaltextMultiplier applied to every symbol layer's text-size.
Halo width, padding, line widths, and other non-text dimensions are not affected.
OptionaltilesAn array of URL templates for loading map tiles, using '{z}', '{x}', and '{y}' placeholders.
Options for configuring the style builder.