We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb5fc87 commit be4c030Copy full SHA for be4c030
src/ui-mapbox/layers/parser/property-parser.ios.ts
@@ -80,7 +80,7 @@ const keysMap = {
80
'raster-brightness-max': 'minimumRasterBrightness'
81
};
82
function transformValue(key, value, _styleType) {
83
- if (_styleType === 'color' || key.indexOf('-color') !== -1) {
+ if (_styleType === 'color') {
84
const color = value instanceof Color ? value : new Color(value);
85
return color.ios;
86
} else if (_styleType === 'vector') {
0 commit comments