Tile Source
Base DataSource for tiled products: URL templates, zoom range, metadata, and a TileRequestManager.
Subtypes fetch raster PNGs, MVT bytes, or encoded grids. Layers use the shared tile cache and valid-time metadata to request Tile instances for the current viewport and timeline.
Parameters
Parsed tile payload (raster bitmap, encoded buffer, decoded features, …).
Inheritors
Properties
High-level source family (raster, encoded, vector, …).
com.xweather.mapsgl.map.MapController.mapSessionId that owns in-flight / ready tile bookkeeping.
Optional interval filter for time-series products; drives tile requests with timeline state.
Alias for DataSource.kind (matches JS naming type).
Functions
Register a layer that should receive updates when this source loads or changes.
Used by prepareTileRequest() to increment or decremnet the time and reformate it for sources with time offets
Returns the metadata for the source, which can be loaded from a remote source.
Plain ISO-8601 for URL path {time} segments (encoded tile GET). Cache keys and POST validTimes still use bracketed ["…"] strings.
convert from \"2025-04-22T03:49:31Z\" to 20250422030000
Unregister a layer previously added with addConsumer.