@dra2020/baseclient 1.0.67 → 1.0.70
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/all/all.d.ts +2 -0
- package/dist/baseclient.js +663 -3
- package/dist/baseclient.js.map +1 -1
- package/dist/colors/colors.d.ts +20 -0
- package/dist/colors/jscolormapsdata.d.ts +7 -0
- package/lib/all/all.ts +2 -0
- package/lib/colors/colors.ts +668 -0
- package/lib/colors/jscolormapsdata.ts +9 -0
- package/lib/poly/poly.ts +2 -2
- package/package.json +1 -1
package/lib/poly/poly.ts
CHANGED
|
@@ -749,8 +749,8 @@ export function featureRewind(f: any, options?: RewindOptions): any
|
|
|
749
749
|
if (!f) return null;
|
|
750
750
|
|
|
751
751
|
// Has to be an unpacked feature
|
|
752
|
-
if (f.type !== 'Feature')
|
|
753
|
-
if (!f.geometry || f.geometry.packed)
|
|
752
|
+
if (f.type !== 'Feature') return f;
|
|
753
|
+
if (!f.geometry || f.geometry.packed) return f;
|
|
754
754
|
|
|
755
755
|
// Non polygons are simpler
|
|
756
756
|
if (f.geometry.type !== 'Polygon' && f.geometry.type !== 'MultiPolygon') return canonicalPoint(f, options);
|