@loaders.gl/gis
Advanced tools
Comparing version 4.0.0-beta.5 to 4.0.0-beta.6
@@ -223,2 +223,3 @@ import { earcut } from '@math.gl/polygon'; | ||
const binaryFeatures = { | ||
shape: 'binary-feature-collection', | ||
points: { | ||
@@ -225,0 +226,0 @@ ...points, |
{ | ||
"name": "@loaders.gl/gis", | ||
"description": "Helpers for GIS category data", | ||
"version": "4.0.0-beta.5", | ||
"version": "4.0.0-beta.6", | ||
"license": "MIT", | ||
@@ -35,4 +35,4 @@ "type": "module", | ||
"dependencies": { | ||
"@loaders.gl/loader-utils": "4.0.0-beta.5", | ||
"@loaders.gl/schema": "4.0.0-beta.5", | ||
"@loaders.gl/loader-utils": "4.0.0-beta.6", | ||
"@loaders.gl/schema": "4.0.0-beta.6", | ||
"@mapbox/vector-tile": "^1.3.1", | ||
@@ -45,3 +45,3 @@ "@math.gl/polygon": "^4.0.0", | ||
}, | ||
"gitHead": "a6f5a0d1a316cc22396e5a4d480c14329d1ef146" | ||
"gitHead": "2840f605b7a551e2ffef5f960231d989a0414c50" | ||
} |
@@ -53,19 +53,2 @@ // loaders.gl, MIT license | ||
/** @deprecated use `binaryToGeojson` or `binaryToGeometry` instead * | ||
export function binaryToGeoJson( | ||
data: BinaryGeometry | BinaryFeatureCollection, | ||
type?: BinaryGeometryType, | ||
format: 'feature' | 'geometry' = 'feature' | ||
): Geometry | Feature[] { | ||
switch (format) { | ||
case 'feature': | ||
return parseFeatures(data as BinaryFeatureCollection, type); | ||
case 'geometry': | ||
return binaryToGeometry(data as any); | ||
default: | ||
throw new Error(format); | ||
} | ||
} | ||
*/ | ||
/** | ||
@@ -72,0 +55,0 @@ * Return a single feature from a binary geometry representation as GeoJSON |
@@ -489,2 +489,3 @@ /* eslint-disable indent */ | ||
const binaryFeatures: BinaryFeatureCollection = { | ||
shape: 'binary-feature-collection', | ||
points: { | ||
@@ -491,0 +492,0 @@ ...points, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
177689
2836
+ Added@loaders.gl/loader-utils@4.0.0-beta.6(transitive)
+ Added@loaders.gl/schema@4.0.0-beta.6(transitive)
+ Added@loaders.gl/worker-utils@4.0.0-beta.6(transitive)
- Removed@loaders.gl/loader-utils@4.0.0-beta.5(transitive)
- Removed@loaders.gl/schema@4.0.0-beta.5(transitive)
- Removed@loaders.gl/worker-utils@4.0.0-beta.5(transitive)