@datatechsolutions/ui 2.9.4 → 2.9.5
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-TMEUXRIT.mjs → chunk-5T27A7VT.mjs} +3 -3
- package/dist/{chunk-TMEUXRIT.mjs.map → chunk-5T27A7VT.mjs.map} +1 -1
- package/dist/{chunk-U2QWYG3V.js → chunk-MUG7B2LD.js} +52 -52
- package/dist/{chunk-U2QWYG3V.js.map → chunk-MUG7B2LD.js.map} +1 -1
- package/dist/{chunk-2TAXP4PQ.mjs → chunk-STWAIGNL.mjs} +7 -5
- package/dist/chunk-STWAIGNL.mjs.map +1 -0
- package/dist/{chunk-YVWHJJ45.js → chunk-TL2TXLHH.js} +7 -5
- package/dist/chunk-TL2TXLHH.js.map +1 -0
- package/dist/index.js +710 -710
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-2TAXP4PQ.mjs.map +0 -1
- package/dist/chunk-YVWHJJ45.js.map +0 -1
|
@@ -12145,7 +12145,7 @@ function useGeoMapState({
|
|
|
12145
12145
|
getFontSize
|
|
12146
12146
|
};
|
|
12147
12147
|
}
|
|
12148
|
-
var MAP_DEFAULT_STATE_COLOR = "rgba(
|
|
12148
|
+
var MAP_DEFAULT_STATE_COLOR = "rgba(100, 116, 139, 0.35)";
|
|
12149
12149
|
var MAP_DEFAULT_MARKER_COLOR = "#6366f1";
|
|
12150
12150
|
var VIEWBOX_WIDTH = 1e3;
|
|
12151
12151
|
var VIEWBOX_HEIGHT = 500;
|
|
@@ -12250,8 +12250,10 @@ function GeoMapCanvasInner({
|
|
|
12250
12250
|
}, [geoData]);
|
|
12251
12251
|
const projection = React12.useMemo(() => {
|
|
12252
12252
|
if (!featureCollection) return null;
|
|
12253
|
-
|
|
12254
|
-
|
|
12253
|
+
if (projectionType === "albersUsa") {
|
|
12254
|
+
return d3Geo.geoAlbersUsa().scale(VIEWBOX_WIDTH / 960 * 1070).translate([VIEWBOX_WIDTH / 2, VIEWBOX_HEIGHT / 2]);
|
|
12255
|
+
}
|
|
12256
|
+
return d3Geo.geoMercator().fitSize([VIEWBOX_WIDTH, VIEWBOX_HEIGHT], featureCollection);
|
|
12255
12257
|
}, [featureCollection, projectionType]);
|
|
12256
12258
|
const pathGenerator = React12.useMemo(() => {
|
|
12257
12259
|
if (!projection) return null;
|
|
@@ -23882,5 +23884,5 @@ exports.useGeoMapState = useGeoMapState;
|
|
|
23882
23884
|
exports.useNotifications = useNotifications;
|
|
23883
23885
|
exports.usePlatformShellStore = usePlatformShellStore;
|
|
23884
23886
|
exports.usePullToRefresh = usePullToRefresh;
|
|
23885
|
-
//# sourceMappingURL=chunk-
|
|
23886
|
-
//# sourceMappingURL=chunk-
|
|
23887
|
+
//# sourceMappingURL=chunk-TL2TXLHH.js.map
|
|
23888
|
+
//# sourceMappingURL=chunk-TL2TXLHH.js.map
|