A tile source: a URL string, or a TileJSON document the caller already holds.
A string is a TileJSON URL unless it contains a {z} placeholder, in which case it
is a raw tile template. Pass an object (see fetchTileJSON) when the style must be
self-contained at build time, or when the source needs fields MapLibre cannot infer.
A tile source: a URL string, or a TileJSON document the caller already holds.
A string is a TileJSON URL unless it contains a
{z}placeholder, in which case it is a raw tile template. Pass an object (seefetchTileJSON) when the style must be self-contained at build time, or when the source needs fields MapLibre cannot infer.