@loaders.gl/json 4.0.0 → 4.0.2
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/dist.dev.js +4 -4
- package/dist/geojson-worker.js +1287 -1279
- package/package.json +5 -5
package/dist/dist.dev.js
CHANGED
|
@@ -2329,7 +2329,7 @@ Char: ${this.c}`;
|
|
|
2329
2329
|
}
|
|
2330
2330
|
};
|
|
2331
2331
|
|
|
2332
|
-
// ../gis/src/lib/flat-geojson-to-binary.ts
|
|
2332
|
+
// ../gis/src/lib/binary-features/flat-geojson-to-binary.ts
|
|
2333
2333
|
function flatGeojsonToBinary(features, geometryInfo, options) {
|
|
2334
2334
|
const propArrayTypes = extractNumericPropTypes(features);
|
|
2335
2335
|
const numericPropKeys = Object.keys(propArrayTypes).filter((k) => propArrayTypes[k] !== Array);
|
|
@@ -2641,7 +2641,7 @@ Char: ${this.c}`;
|
|
|
2641
2641
|
return constructor === Float64Array || Math.fround(x) !== x ? Float64Array : Float32Array;
|
|
2642
2642
|
}
|
|
2643
2643
|
|
|
2644
|
-
// ../gis/src/lib/extract-geometry-info.ts
|
|
2644
|
+
// ../gis/src/lib/binary-features/extract-geometry-info.ts
|
|
2645
2645
|
function extractGeometryInfo(features) {
|
|
2646
2646
|
let pointPositionsCount = 0;
|
|
2647
2647
|
let pointFeaturesCount = 0;
|
|
@@ -2726,7 +2726,7 @@ Char: ${this.c}`;
|
|
|
2726
2726
|
};
|
|
2727
2727
|
}
|
|
2728
2728
|
|
|
2729
|
-
// ../gis/src/lib/geojson-to-flat-geojson.ts
|
|
2729
|
+
// ../gis/src/lib/binary-features/geojson-to-flat-geojson.ts
|
|
2730
2730
|
function geojsonToFlatGeojson(features, options = {
|
|
2731
2731
|
coordLength: 2,
|
|
2732
2732
|
fixRingWinding: true
|
|
@@ -2822,7 +2822,7 @@ Char: ${this.c}`;
|
|
|
2822
2822
|
};
|
|
2823
2823
|
}
|
|
2824
2824
|
|
|
2825
|
-
// ../gis/src/lib/geojson-to-binary.ts
|
|
2825
|
+
// ../gis/src/lib/binary-features/geojson-to-binary.ts
|
|
2826
2826
|
function geojsonToBinary(features, options = {
|
|
2827
2827
|
fixRingWinding: true,
|
|
2828
2828
|
triangulate: true
|