@datatechsolutions/ui 2.9.5 → 2.9.6

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.
@@ -12251,7 +12251,8 @@ function GeoMapCanvasInner({
12251
12251
  const projection = React12.useMemo(() => {
12252
12252
  if (!featureCollection) return null;
12253
12253
  if (projectionType === "albersUsa") {
12254
- return d3Geo.geoAlbersUsa().scale(VIEWBOX_WIDTH / 960 * 1070).translate([VIEWBOX_WIDTH / 2, VIEWBOX_HEIGHT / 2]);
12254
+ const scaleFactor = VIEWBOX_WIDTH / 960;
12255
+ return d3Geo.geoAlbersUsa().scale(1070 * scaleFactor * 0.9).translate([VIEWBOX_WIDTH / 2, VIEWBOX_HEIGHT / 2]);
12255
12256
  }
12256
12257
  return d3Geo.geoMercator().fitSize([VIEWBOX_WIDTH, VIEWBOX_HEIGHT], featureCollection);
12257
12258
  }, [featureCollection, projectionType]);
@@ -23884,5 +23885,5 @@ exports.useGeoMapState = useGeoMapState;
23884
23885
  exports.useNotifications = useNotifications;
23885
23886
  exports.usePlatformShellStore = usePlatformShellStore;
23886
23887
  exports.usePullToRefresh = usePullToRefresh;
23887
- //# sourceMappingURL=chunk-TL2TXLHH.js.map
23888
- //# sourceMappingURL=chunk-TL2TXLHH.js.map
23888
+ //# sourceMappingURL=chunk-ZPG2UAZR.js.map
23889
+ //# sourceMappingURL=chunk-ZPG2UAZR.js.map