It should be possible to apply a categorized theme on multiple fields.
This currently works only for icons.
The styleParser checks that the categories have a field included in the fields array.
The cat style must be an icon which is not an array. It's possible to alter this requirement later but I would need a valid test case for this.
The styleParser icon check was expanded to not merge into icons which have a type or are svg to prevent type:dot icons being merged into type:template or svg icons which would break the icon.
The cat.field is assigned as field instead of the theme.field in the categorized legend iteration of the categories.
It should be possible to apply a categorized theme on multiple fields.
This currently works only for icons.
The styleParser checks that the categories have a field included in the fields array.
The cat style must be an icon which is not an array. It's possible to alter this requirement later but I would need a valid test case for this.
The styleParser icon check was expanded to not merge into icons which have a type or are svg to prevent type:dot icons being merged into type:template or svg icons which would break the icon.
The cat.field is assigned as field instead of the theme.field in the categorized legend iteration of the categories.