diff --git a/web-ui/src/main/resources/catalog/components/viewer/gfi/FeaturesLoader.js b/web-ui/src/main/resources/catalog/components/viewer/gfi/FeaturesLoader.js index c9ca61926cf..62d6fbdde68 100644 --- a/web-ui/src/main/resources/catalog/components/viewer/gfi/FeaturesLoader.js +++ b/web-ui/src/main/resources/catalog/components/viewer/gfi/FeaturesLoader.js @@ -151,7 +151,7 @@ }) .then( function (response) { - if (infoFormat && infoFormat.match(/application\/(geo|geo\+)json/i) != null) { + if (infoFormat && infoFormat.match(/application\/(geo|geo\+)?json/i) != null) { var jsonf = new ol.format.GeoJSON(); var features = []; response.data.features.forEach(function (f) {