applyUnits

Applies units to all hosted legends. Used by the map host to keep legends aligned with com.xweather.mapsgl.map.MapController.units, and by toggleUnits when no host callback is set.