@dra2020/baseclient 1.0.65 → 1.0.66

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.
@@ -6848,10 +6848,13 @@ function featureRewind(f, options) {
6848
6848
  if (f.geometry.coordinates.length == 1) {
6849
6849
  f.geometry.type = 'Polygon';
6850
6850
  f.geometry.coordinates = f.geometry.coordinates[0];
6851
+ d = 4;
6851
6852
  }
6852
6853
  }
6853
6854
  // OK, now go through each ring
6854
6855
  let polys = f.geometry.coordinates;
6856
+ if (d == 4)
6857
+ polys = [polys];
6855
6858
  windings = polyRingWindings(f);
6856
6859
  windings.forEach((w) => {
6857
6860
  let good = !misWound(w);