Icon Atlas
Icon atlas (parity with JS icon.atlas / Apple IconAtlasPaint: ordered ids and a data-value interval used to pick an index via floor(value / interval)).
For wind barbs the default ids are mapsgl:wind-barb-0 … mapsgl:wind-barb-100 in 5 kt steps and interval is the bucket width in m/s (JS: 5 * 0.5144444). Instanced GL barbs still draw procedurally in com.xweather.mapsgl.renderers.WindBarbInstancedRenderer; keep IconPaint.image consistent with these ids for any Mapbox symbol / tooling path.
Properties
Link copied to clipboard
Link copied to clipboard
Data-value step between consecutive atlas indices (JS / Apple icon.atlas.interval). For wind barbs this is m/s per sprite (e.g. WIND_BARB_INTERVAL).
Link copied to clipboard