IconAtlas

data class IconAtlas(val ids: List<String>, val intervalMs: Double)

Wind barb sprite atlas (parity with JS icon.atlas: ordered ids and speed step in m/s per index).

The default ids are mapsgl:wind-barb-0mapsgl:wind-barb-100 in 5 kt steps. intervalMs 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.

Constructors

Link copied to clipboard
constructor(ids: List<String>, intervalMs: Double)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Speed step in m/s between consecutive sprite indices (5 kt).