equalWidth

const val equalWidth: Boolean = true

Whether every colour cell gets the same width.

MapsGL JS defaults this to false, meaning each cell's width is proportional to its value relative to the bar's range. Android has always drawn equal-width cells, so the default here stays true to leave every existing legend rendering exactly as it does today; set it to false for JS's layout.