map-ol-utils 0.0.35 → 0.0.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -158,7 +158,7 @@ var assembleGeoJson = (dataList, config) => {
158
158
  properties: __spreadValues({}, item),
159
159
  geometry: {
160
160
  coordinates: pathArray,
161
- type: isLine ? "LineString" : "Polygon"
161
+ type: isLine ? "LineString" : "MultiPolygon"
162
162
  }
163
163
  });
164
164
  }
package/dist/index.js CHANGED
@@ -101,7 +101,7 @@ var assembleGeoJson = (dataList, config) => {
101
101
  properties: __spreadValues({}, item),
102
102
  geometry: {
103
103
  coordinates: pathArray,
104
- type: isLine ? "LineString" : "Polygon"
104
+ type: isLine ? "LineString" : "MultiPolygon"
105
105
  }
106
106
  });
107
107
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "map-ol-utils",
3
- "version": "0.0.35",
3
+ "version": "0.0.36",
4
4
  "type": "module",
5
5
  "description": "Openlayers utils library",
6
6
  "files": [