Currently, the parser cannot handle the hsl format if also the opacity was specified, since it wrongly assumes the color to be formatted as hexcode. This results in displaying wrong colors.
openlayers-parser assumes colors are formatted as rgba or hexcodes but actually ol supports more than that, e.g. hsl. Instead of transforming color formats the parser should rather only split/merge color-opacities but keep the original format.
The geostyler-style always expects hex values. But we could consider to remind the colorformat in the metadata and add some functions to restore the previous format.
PARSER
OPENLAYERS
BUG
Description:
Currently, the parser cannot handle the
hsl
format if also the opacity was specified, since it wrongly assumes the color to be formatted as hexcode. This results in displaying wrong colors.openlayers-parser assumes colors are formatted as
rgba
or hexcodes but actually ol supports more than that, e.g.hsl
. Instead of transforming color formats the parser should rather only split/merge color-opacities but keep the original format.Example:
related to geostyler/geostyler#848