Image Tile Source
ImageTileSource.kt
Adapted from IOS version
Author
by Jason Suto on 11/30/23.
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.