@datatechsolutions/ui 2.9.8 → 2.9.9

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.
@@ -12319,9 +12319,16 @@ function GeoMapCanvasInner({
12319
12319
  const isDimmed = hasAnyActiveFilter && !isActive && hasItems;
12320
12320
  let pathData = pathGenerator(feature);
12321
12321
  if (pathData && projectionType === "albersUsa") {
12322
- const firstZ = pathData.indexOf("Z");
12323
- if (firstZ > 0 && firstZ < 200) {
12324
- pathData = pathData.slice(firstZ + 1) || null;
12322
+ while (pathData) {
12323
+ const firstZ = pathData.indexOf("Z");
12324
+ if (firstZ < 0 || firstZ > 200) break;
12325
+ const sub = pathData.slice(0, firstZ);
12326
+ const lCount = (sub.match(/L/g) || []).length;
12327
+ if (lCount <= 4) {
12328
+ pathData = pathData.slice(firstZ + 1) || null;
12329
+ } else {
12330
+ break;
12331
+ }
12325
12332
  }
12326
12333
  }
12327
12334
  if (!pathData) return null;
@@ -23894,5 +23901,5 @@ exports.useGeoMapState = useGeoMapState;
23894
23901
  exports.useNotifications = useNotifications;
23895
23902
  exports.usePlatformShellStore = usePlatformShellStore;
23896
23903
  exports.usePullToRefresh = usePullToRefresh;
23897
- //# sourceMappingURL=chunk-4OTIBU7Y.js.map
23898
- //# sourceMappingURL=chunk-4OTIBU7Y.js.map
23904
+ //# sourceMappingURL=chunk-G5MMZVTM.js.map
23905
+ //# sourceMappingURL=chunk-G5MMZVTM.js.map