Browse Source

ExportGeoJSON: always pack into FeatureCollection

master
parent
commit
e19bf4d8d8
  1. 2
      src/ExportGeoJSON.js

2
src/ExportGeoJSON.js

@ -16,12 +16,10 @@ class ExportGeoJSON {
}
finish (list) {
if (list.length) {
list = {
type: 'FeatureCollection',
features: list
}
}
return {
content: JSON.stringify(list, null, ' '),

Loading…
Cancel
Save