diff --git a/src/modules/map/components/openlayers/utils/styleFromLiterals.js b/src/modules/map/components/openlayers/utils/styleFromLiterals.js index 998925720..c89e70221 100644 --- a/src/modules/map/components/openlayers/utils/styleFromLiterals.js +++ b/src/modules/map/components/openlayers/utils/styleFromLiterals.js @@ -194,7 +194,7 @@ OlStyleForPropertyValue.prototype.initialize_ = function (properties) { OlStyleForPropertyValue.prototype.pushOrInitialize_ = function (geomType, key, styleSpec) { // Happens when styling is only resolution dependent (unique type only) - if (!key) { + if (key === undefined) { key = this.defaultVal } if (!this.styles[geomType][key]) {