Wmts Tile Source
HttpTileSource for OGC Web Map Tile Service (WMTS) endpoints. Maps slippy-map (z, x, y) directly onto a WMTS URL template using the {TileMatrix} / {TileCol} / {TileRow} tokens (the spec-mandated KVP / RESTful placeholders). [tileMatrixIdentifiers][z] supplies the per-level TileMatrix identifier — WMTS doesn't require numeric levels.
y is slippy-map (top-down). No row flip needed — WMTS itself uses top-down rows.
Cache wiring is external — wrap in earth.worldwind.layer.cache.CachedTileSource to persist bytes through a earth.worldwind.layer.cache.TileStore.
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.