diff --git a/src/assets/js/map-util.js b/src/assets/js/map-util.js index 8fac44860d2fd12c161d7b7ef3ee51d585db1f92..007e92077be4966ccd56b99d188e39ba24dc9faa 100644 --- a/src/assets/js/map-util.js +++ b/src/assets/js/map-util.js @@ -300,6 +300,9 @@ const mapUtil = { const colorStyle = featureType.colors_style.colors[currentValue]; return colorStyle ? colorStyle : featureType.color } + else{ + return featureType.color; + } }, addVectorTileLayer: function (url, project_slug, featureTypes, form_filters) {