@versatiles/style
    Preparing search index...

    Module versatiles-style.js

    The entry for the browser bundle served from the CDN (versatiles-style.js, the VersaTilesStyle global).

    Everything listed on this page is available as VersaTilesStyle.<name>. Load the bundle from a <script> tag and call it — no build step, no import. The full npm package is documented separately under "@versatiles/style"; this is that surface minus osm.minimizeOptions, osm.toCode, osm.validateOptions and their satellite counterparts, the font-discovery helpers, randomColor, and the four TileJSON validators. Those exist to store options compactly, print a code snippet, or report everything wrong with an options object someone typed — jobs for a style editor, which is an npm consumer with its own bundler. A page that loads this file wants to build a style and hand it to MapLibre, and would otherwise pay ~2 KB gzipped for methods it never calls; attached to the exported function object, they cannot be tree-shaken away by the page.

    Anything else that belongs to the public API belongs in exports.ts, so both entries keep it.

    osm
    satellite
    Channels → Channels
    Color → Color
    ColorParseError → ColorParseError
    ColorsOptions → ColorsOptions
    Coords → Coords
    FetchLike → FetchLike
    fetchTileJSON → fetchTileJSON
    FontName → FontName
    guessSchema → guessSchema
    guessStyle → guessStyle
    GuessStyleOptions → GuessStyleOptions
    HillshadeOptions → HillshadeOptions
    HueMethod → HueMethod
    IconOptions → IconOptions
    inlineSources → inlineSources
    inspectorStyle → inspectorStyle
    InspectorStyleOptions → InspectorStyleOptions
    isDarkMode → isDarkMode
    labelLanguage → labelLanguage
    LabelStyle → LabelStyle
    LayerGroupMap → LayerGroupMap
    LayerGroupOptions → LayerGroupOptions
    METADATA_BUILDER_KEY → METADATA_BUILDER_KEY
    METADATA_OPTIONS_KEY → METADATA_OPTIONS_KEY
    METADATA_VERSION → METADATA_VERSION
    METADATA_VERSION_KEY → METADATA_VERSION_KEY
    MixOptions → MixOptions
    OptionIssue → OptionIssue
    OsmFeaturesOptions → OsmFeaturesOptions
    OsmOptions → OsmOptions
    OsmOverlayOptions → OsmOverlayOptions
    OsmUrlsOptions → OsmUrlsOptions
    Palette → Palette
    PitchAlignment → PitchAlignment
    ProjectionOptions → ProjectionOptions
    RandomColorOptions → RandomColorOptions
    readStyleOptions → readStyleOptions
    RecolorOptions → RecolorOptions
    ResolvedColors → ResolvedColors
    ResolvedHillshade → ResolvedHillshade
    ResolvedIcon → ResolvedIcon
    ResolvedLabelStyle → ResolvedLabelStyle
    ResolvedLayerGroups → ResolvedLayerGroups
    ResolvedOsm → ResolvedOsm
    ResolvedOsmFeatures → ResolvedOsmFeatures
    ResolvedOsmOverlay → ResolvedOsmOverlay
    ResolvedOsmUrls → ResolvedOsmUrls
    ResolvedProjection → ResolvedProjection
    ResolvedRecolor → ResolvedRecolor
    ResolvedSatellite → ResolvedSatellite
    ResolvedSatelliteFeatures → ResolvedSatelliteFeatures
    ResolvedSatelliteRaster → ResolvedSatelliteRaster
    ResolvedSatelliteUrls → ResolvedSatelliteUrls
    ResolvedSky → ResolvedSky
    ResolvedSun → ResolvedSun
    ResolvedTerrain → ResolvedTerrain
    ResolvedText → ResolvedText
    ResolvedTheme → ResolvedTheme
    SatelliteFeaturesOptions → SatelliteFeaturesOptions
    SatelliteOptions → SatelliteOptions
    SatelliteRasterOptions → SatelliteRasterOptions
    SatelliteUrlsOptions → SatelliteUrlsOptions
    SchemaBuilder → SchemaBuilder
    SchemaDescriptor → SchemaDescriptor
    SchemaGuess → SchemaGuess
    SchemaName → SchemaName
    SchemaScore → SchemaScore
    SchemaUrls → SchemaUrls
    SkyOptions → SkyOptions
    Space → Space
    SpriteEntries → SpriteEntries
    SpriteSpecification → SpriteSpecification
    StyleBuilder → StyleBuilder
    styleMetadata → styleMetadata
    StyleOptionsRecord → StyleOptionsRecord
    StyleSpecification → StyleSpecification
    SunOptions → SunOptions
    TerrainOptions → TerrainOptions
    TextGroupMap → TextGroupMap
    TextOptions → TextOptions
    TextTopic → TextTopic
    TextTransform → TextTransform
    ThemeOptions → ThemeOptions
    TileJSONSpecification → TileJSONSpecification
    TileJSONSpecificationRaster → TileJSONSpecificationRaster
    TileJSONSpecificationVector → TileJSONSpecificationVector
    TileSource → TileSource
    ValidationResult → ValidationResult
    VectorLayer → VectorLayer