itowns 2.43.2-next.22 → 2.43.2-next.24

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.
@@ -68,9 +68,9 @@ export default {
68
68
 
69
69
  // If a zip is present, don't read anything else
70
70
  if (data.zip) {
71
- result = shp.parseZip(data.zip);
71
+ result = shp(data.zip);
72
72
  } else if (data.shp && data.shx && data.dbf) {
73
- result = Promise.all([shp.parseShp(data.shp, data.prj), shp.parseDbf(data.dbf)]).then(shp.combine);
73
+ result = shp(data);
74
74
  }
75
75
  options.in = options.in || {};
76
76
  options.in.crs = data.prj ? proj4(data.prj).oProj.datumName : options.in.crs;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itowns",
3
- "version": "2.43.2-next.22",
3
+ "version": "2.43.2-next.24",
4
4
  "description": "A JS/WebGL framework for 3D geospatial data visualization",
5
5
  "type": "module",
6
6
  "main": "lib/Main.js",