Vector Tile Source
Runtime vector tile source created by com.xweather.mapsgl.map.MapController.addSource when using com.xweather.mapsgl.sources.source.spec.VectorSourceDescriptor. Obtain via com.xweather.mapsgl.map.MapController.getSource and cast to this type to change TileSource.tileURL, TileSource.minZoom / TileSource.maxZoom, or refresh tiles.
Inheritors
Properties
When set (GL stencil mask mode), invoked on the tile decode thread after each successful MVT parse with the same TileCoord / coord-hash key used by encoded raster meshes.
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.
Invoked on the tile decode thread after each successful parse, after glStencilMaskTileListener.
Ensures parseVectorTile includes sourceLayerTag in decoded MVT layers (refcounted).
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.