Skip to content

Commit

Permalink
Merge pull request #803 from geoadmin/fix-PB-304-treasurehunt-layer-n…
Browse files Browse the repository at this point in the history
…ot-displayed

PB-304: Treasurehunt layer not displayed
  • Loading branch information
LukasJoss authored Apr 24, 2024
2 parents f5b7000 + 5a6710a commit a8c7cd9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 === undefined) {
if (!key) {
key = this.defaultVal
}
if (!this.styles[geomType][key]) {
Expand Down

0 comments on commit a8c7cd9

Please sign in to comment.