Browse Source

ExportGeoJSON: always pack into FeatureCollection

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

8
src/ExportGeoJSON.js

@ -16,11 +16,9 @@ class ExportGeoJSON {
}
finish (list) {
if (list.length) {
list = {
type: 'FeatureCollection',
features: list
}
list = {
type: 'FeatureCollection',
features: list
}
return {

Loading…
Cancel
Save