iconWidth

Per-feature icon width in JS icon pixels (JS parity paint.icon.size.width as an expression). Takes precedence over iconSize and size when set.

iconSize carries constants only, and size is a single multiplier applied to both axes, so neither can express a width that varies per feature independently of the height - the shape JS examples like fires-obs rely on. Setting this and iconHeight resolves each axis from its own expression, evaluated per feature by the same numeric evaluator size uses.

Deliberately a property rather than a constructor parameter: adding parameters to IconPaint's constructor or copy would change their JVM signatures and break apps built against earlier SDK versions. Left unset, sizing behaves exactly as before.