@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.
- package/dist/astrlabe/index.js +119 -119
- package/dist/astrlabe/index.mjs +3 -3
- package/dist/astrlabe/workflow-canvas.js +3 -3
- package/dist/astrlabe/workflow-canvas.mjs +2 -2
- package/dist/{chunk-5T27A7VT.mjs → chunk-2O74XPHQ.mjs} +3 -3
- package/dist/{chunk-5T27A7VT.mjs.map → chunk-2O74XPHQ.mjs.map} +1 -1
- package/dist/{chunk-MUG7B2LD.js → chunk-AM4DJBFJ.js} +52 -52
- package/dist/{chunk-MUG7B2LD.js.map → chunk-AM4DJBFJ.js.map} +1 -1
- package/dist/{chunk-STWAIGNL.mjs → chunk-G2DGNCOP.mjs} +4 -3
- package/dist/chunk-G2DGNCOP.mjs.map +1 -0
- package/dist/{chunk-TL2TXLHH.js → chunk-ZPG2UAZR.js} +4 -3
- package/dist/chunk-ZPG2UAZR.js.map +1 -0
- package/dist/index.js +710 -710
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-STWAIGNL.mjs.map +0 -1
- package/dist/chunk-TL2TXLHH.js.map +0 -1
|
@@ -12251,7 +12251,8 @@ function GeoMapCanvasInner({
|
|
|
12251
12251
|
const projection = React12.useMemo(() => {
|
|
12252
12252
|
if (!featureCollection) return null;
|
|
12253
12253
|
if (projectionType === "albersUsa") {
|
|
12254
|
-
|
|
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-
|
|
23888
|
-
//# sourceMappingURL=chunk-
|
|
23888
|
+
//# sourceMappingURL=chunk-ZPG2UAZR.js.map
|
|
23889
|
+
//# sourceMappingURL=chunk-ZPG2UAZR.js.map
|