Skip to content

Commit

Permalink
Map viewer / WMS GetFeatureInfo support for application/json info for…
Browse files Browse the repository at this point in the history
…mat (#8372)
  • Loading branch information
josegar74 committed Sep 17, 2024
1 parent a66662c commit 8e92e94
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8e92e94

Please sign in to comment.