Package-level declarations
Types
Cached access token plus expiry, parsed from the Xweather token response.
Accumulation layers MapsGL JS ships (MapsGL JS 1.8.5) which have no LayerCode on Android.
Signs MapsGL / AMP HTTP requests with XweatherAccount credentials.
Thrown when XweatherAuthenticator cannot obtain a usable token.
Modified BaseEncodedConfiguration to support both Sample and Particle layers. It uses a generic L constrained to LayerDescriptor to handle both types.
Example of a Particle implementation
Weather product that expands to multiple WeatherLayerConfiguration layers (stacked fills, icons, labels).
Custom gridded layers that mirror non-generated JS SDK specs.
Weather product ids passed to com.xweather.mapsgl.map.MapController.addWeatherLayer.
Source and layer descriptors for the PowerLayerCode products.
Weather sources and layers that are not in the generated files.
Time-series operation products, added with addOperationLayer.
The power layers MapsGL JS ships (MapsGL JS 1.8.1 / 1.8.5).
LayerCode configurations for the PowerLayerCode products, so they can be added with addWeatherLayer as in MapsGL JS. Each one wraps the ManualWeatherLayers descriptors, so the layer has one definition however it is added. Added by the 2026-10-06 additive regeneration: the generator now emits these codes.
Shorthand for image/raster products (satellite geocolor, visible, …) with RasterLayerDescriptor.maskLayerIds.
Shorthand for encoded-grid sample products (temperature, radar, …).
Precipitation rate scaled for the derived snow / sleet / ice products.
Shorthand for vector-backed circle layers (e.g. point observations).
Marker for all weather configuration entries exposed by WeatherService.
Stroke thickness defaults for built-in weather vector line layers (parity with @xweather/mapsgl JS registry).
High-level factory/service for MapsGL weather products and source descriptors.
Request authenticator used by WeatherService and source descriptors.
Properties
Functions
Adds one of the accumulation layers.
Adds one of the time-series operation layers.
Adds one of the power layers.
Applies stroke thickness to a single vector line weather configuration (parity with JS addWeatherLayer(..., { paint: { stroke: { thickness } } })).
Recurses into composite configs and sets line stroke thickness on every child that is a line layer.