@dra2020/baseclient 1.0.61 → 1.0.62

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.
@@ -6840,7 +6840,7 @@ function featureRewind(f, options) {
6840
6840
  let polys = f.geometry.coordinates;
6841
6841
  let iPoly;
6842
6842
  for (; iWinding < windings.length; iWinding++) {
6843
- let good = misWound(windings[iWinding]);
6843
+ let good = !misWound(windings[iWinding]);
6844
6844
  if (!good && iWinding == 0) // First is miswound - no good
6845
6845
  break;
6846
6846
  if (good)
@@ -6862,7 +6862,7 @@ function featureRewind(f, options) {
6862
6862
  let polys = f.geometry.coordinates;
6863
6863
  windings = polyRingWindings(f);
6864
6864
  windings.forEach((w) => {
6865
- let good = misWound(w);
6865
+ let good = !misWound(w);
6866
6866
  if (!good) {
6867
6867
  let ring = polys[w.iPoly][w.iRing];
6868
6868
  let iFront = 0;