You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a color value is not an expression, we currently simply pass the color value of a mapbox-style as-is to the geostyler-style. However, these values might come in the format of rgba(r, g, b, a), whereas geostyler-style expects hex-values. So we have to check for those values and replace them with their hex-color value in order for geostyler to work as expected.
Expected behavior
Color values that are not hex-colors should be replaced with hex-colors when reading a mapbox style.
Bug
Describe the bug
If a color value is not an expression, we currently simply pass the color value of a mapbox-style as-is to the geostyler-style. However, these values might come in the format of
rgba(r, g, b, a)
, whereas geostyler-style expects hex-values. So we have to check for those values and replace them with their hex-color value in order for geostyler to work as expected.Expected behavior
Color values that are not hex-colors should be replaced with hex-colors when reading a mapbox style.
Example mapbox-style with rgba color values.
The text was updated successfully, but these errors were encountered: