Url Template Mvt Tile Source
URL-template-based HttpTileSource for Mapbox Vector Tile servers. The template uses {z}, {x}, {y} placeholders, matching the slippy-map convention used by every major vector-tile provider:
UrlTemplateMvtTileSource("https://tiles.example.com/data/v3/{z}/{x}/{y}.pbf")
UrlTemplateMvtTileSource("https://api.maptiler.com/tiles/v3/{z}/{x}/{y}.pbf?key=YOUR_KEY")gzip transparency: every engine we ship (OkHttp on JVM/Android, Darwin URLSession on iOS, the browser fetch API on JS) auto-decodes Content-Encoding: gzip, and vector tiles are almost always gzipped at rest. No Ktor ContentEncoding plugin is installed.
Constructors
Functions
Download every tile that intersects sector across every level whose resolution falls in resolution — typically used by "save a region for offline use" flows. Returns the launched Job so the caller can cancel mid-download.
Cache-only fast-path read for (z, x, y). Default returns null — a plain network source has no cache to consult. Cache-backed sources override to read their store without going through the network-fetch concurrency budget.