Skip to content

Commit

Permalink
fix(wms-wfs.utils) Json as outputformat. (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
pelord authored and mbarbeau committed Sep 25, 2019
1 parent d1eb9cd commit 9c9fe31
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ export function getFormatFromOptions(
} else if (outputFormat.toLowerCase().match('esrijson')) {
olFormatCls = OlFormat.EsriJSON;
return new olFormatCls();
} else if (outputFormat.toLowerCase().match('json')) {
olFormatCls = OlFormat.GeoJSON;
return new olFormatCls();
} else if (outputFormat.toLowerCase().match('gpx')) {
olFormatCls = OlFormat.GPX;
return new olFormatCls();
Expand Down

0 comments on commit 9c9fe31

Please sign in to comment.