@local-logic/maps 0.0.12 → 0.0.14
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/index-58w3Qwxr.js +56 -0
- package/dist/index-BGoTpJjt.js +81 -0
- package/dist/index-Bp1bWq9c.js +690 -0
- package/dist/{index-DFdfOz0d.js → index-C36u5N_F.js} +1 -1
- package/dist/{index-B3NH4rqN.js → index-CBp9gCca.js} +8 -8
- package/dist/index-CCtDJ-mV.js +56 -0
- package/dist/index-CFomI3Il.js +98 -0
- package/dist/index-CUpaKIZP.js +105 -0
- package/dist/index-CXTsUiSS.js +57 -0
- package/dist/index-CXUQoF5Q.js +34 -0
- package/dist/{index-B9YXnLOH.js → index-DY5pY-zk.js} +11 -10
- package/dist/index-S5SfktvB.js +79 -0
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +75 -75
- package/dist/src/components/Map/Root/BaseMap/Google/index.d.ts +1 -1
- package/dist/src/components/Map/Root/BaseMap/Google/index.d.ts.map +1 -1
- package/dist/src/components/Map/Root/BaseMap/Mapbox/index.d.ts +1 -1
- package/dist/src/components/Map/Root/BaseMap/Mapbox/index.d.ts.map +1 -1
- package/dist/src/components/Map/Root/BaseMap/Maptiler/index.d.ts +1 -1
- package/dist/src/components/Map/Root/BaseMap/Maptiler/index.d.ts.map +1 -1
- package/dist/src/components/Map/Root/BaseMap/index.d.ts +1 -1
- package/dist/src/components/Map/Root/BaseMap/index.d.ts.map +1 -1
- package/dist/src/components/Map/Root/BaseMap/types.d.ts +10 -1
- package/dist/src/components/Map/Root/BaseMap/types.d.ts.map +1 -1
- package/dist/src/components/Map/Root/Layers/types.d.ts +3 -2
- package/dist/src/components/Map/Root/Layers/types.d.ts.map +1 -1
- package/dist/src/components/Map/Root/Markers/Google/index.d.ts +1 -1
- package/dist/src/components/Map/Root/Markers/Google/index.d.ts.map +1 -1
- package/dist/src/components/Map/Root/Markers/Mapbox/index.d.ts +1 -1
- package/dist/src/components/Map/Root/Markers/Mapbox/index.d.ts.map +1 -1
- package/dist/src/components/Map/Root/Markers/Maptiler/index.d.ts +1 -1
- package/dist/src/components/Map/Root/Markers/Maptiler/index.d.ts.map +1 -1
- package/dist/src/components/Map/Root/Markers/index.d.ts +1 -1
- package/dist/src/components/Map/Root/Markers/index.d.ts.map +1 -1
- package/dist/src/components/Map/Root/Markers/types.d.ts +0 -11
- package/dist/src/components/Map/Root/Markers/types.d.ts.map +1 -1
- package/dist/src/components/Map/Root/Popup/Google/index.d.ts.map +1 -1
- package/dist/src/components/Map/Root/Popup/Maptiler/index.d.ts.map +1 -1
- package/dist/src/components/Map/Root/Popup/index.d.ts +1 -1
- package/dist/src/components/Map/Root/Popup/index.d.ts.map +1 -1
- package/dist/src/components/Map/Root/constants.d.ts +3 -0
- package/dist/src/components/Map/Root/constants.d.ts.map +1 -1
- package/dist/src/components/Map/Root/context.d.ts +2 -0
- package/dist/src/components/Map/Root/context.d.ts.map +1 -1
- package/dist/src/components/Map/Root/index.d.ts.map +1 -1
- package/dist/src/components/Map/index.d.ts +1 -1
- package/dist/src/components/Map/index.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index-BcpSqK0X.js +0 -74
- package/dist/index-Bd7meO8V.js +0 -783
- package/dist/index-BhldVNew.js +0 -35
- package/dist/index-Bu4XEiYU.js +0 -74
- package/dist/index-CzBPD5Sw.js +0 -73
- package/dist/index-DsrEcQq0.js +0 -71
- package/dist/index-LKvWHhi6.js +0 -53
- package/dist/index-aDlW4ps0.js +0 -50
|
@@ -7,5 +7,5 @@ import { BaseMapProps } from '../types';
|
|
|
7
7
|
* Map styles:
|
|
8
8
|
* https://console.cloud.google.com/google/maps-apis/studio/styles?project=engineering-internal-396021
|
|
9
9
|
*/
|
|
10
|
-
export default function GoogleBaseMap({ children }: BaseMapProps): React.JSX.Element | null;
|
|
10
|
+
export default function GoogleBaseMap({ padding, children }: BaseMapProps): React.JSX.Element | null;
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/Root/BaseMap/Google/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/Root/BaseMap/Google/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAUnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAiG7C;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,YAAY,4BAmDxE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { BaseMapProps } from '../types';
|
|
3
|
-
export default function MapboxBaseMap({ children }: BaseMapProps): React.JSX.Element | null;
|
|
3
|
+
export default function MapboxBaseMap({ padding, children }: BaseMapProps): React.JSX.Element | null;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/Root/BaseMap/Mapbox/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/Root/BaseMap/Mapbox/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,8BAA8B,CAAC;AAQtC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAkF7C,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,YAAY,4BAqCxE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { BaseMapProps } from '../types';
|
|
3
|
-
export default function MaptilerBaseMap({ children }: BaseMapProps): React.JSX.Element | null;
|
|
3
|
+
export default function MaptilerBaseMap({ padding, children }: BaseMapProps): React.JSX.Element | null;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/Root/BaseMap/Maptiler/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/Root/BaseMap/Maptiler/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,kCAAkC,CAAC;AAQ1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAkF7C,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,YAAY,4BAmC1E"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { BaseMapProps } from './types';
|
|
3
|
-
export declare const BaseMap: ({ children }: BaseMapProps) => React.JSX.Element;
|
|
3
|
+
export declare const BaseMap: ({ padding, children }: BaseMapProps) => React.JSX.Element;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/Root/BaseMap/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkC,MAAM,OAAO,CAAC;AAKvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAQ5C,eAAO,MAAM,OAAO,GAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/Root/BaseMap/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkC,MAAM,OAAO,CAAC;AAKvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAQ5C,eAAO,MAAM,OAAO,GAAI,uBAA+B,YAAY,sBA4ClE,CAAC"}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
import { RootProps } from '../types';
|
|
2
|
-
|
|
2
|
+
type MarkerBoundsPadding = {
|
|
3
|
+
top: number;
|
|
4
|
+
bottom: number;
|
|
5
|
+
left: number;
|
|
6
|
+
right: number;
|
|
7
|
+
};
|
|
8
|
+
export type BaseMapProps = Pick<RootProps, "children"> & {
|
|
9
|
+
padding?: MarkerBoundsPadding | number;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
3
12
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/Root/BaseMap/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/Root/BaseMap/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,KAAK,mBAAmB,GAAG;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,GAAG;IACvD,OAAO,CAAC,EAAE,mBAAmB,GAAG,MAAM,CAAC;CACxC,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
export type LayerType = "fill" | "line";
|
|
1
2
|
export type Layer = {
|
|
2
|
-
type:
|
|
3
|
+
type: LayerType;
|
|
3
4
|
color: string;
|
|
4
5
|
};
|
|
5
6
|
export type Source = {
|
|
6
7
|
key: string;
|
|
7
8
|
layer: Layer | Layer[];
|
|
8
|
-
geometry: number[][][][];
|
|
9
|
+
geometry: number[][] | number[][][] | number[][][][];
|
|
9
10
|
};
|
|
10
11
|
export type LayersProps = {
|
|
11
12
|
sources?: Source[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/Root/Layers/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GAAG;IAClB,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/Root/Layers/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAExC,MAAM,MAAM,KAAK,GAAG;IAClB,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,KAAK,GAAG,KAAK,EAAE,CAAC;IAEvB,QAAQ,EAAE,MAAM,EAAE,EAAE,GAAG,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC;CACtD,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { MapMarkerProps } from '../types';
|
|
3
|
-
export default function GoogleMarkers({ clusters, colors, clusterIcon,
|
|
3
|
+
export default function GoogleMarkers({ clusters, colors, clusterIcon, onClick, doesSuperclusterContainActiveMarker, }: MapMarkerProps): React.JSX.Element[];
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/Root/Markers/Google/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/Root/Markers/Google/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,KAAK,EAAgB,cAAc,EAAE,MAAM,UAAU,CAAC;AAQ7D,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,QAAQ,EACR,MAAM,EACN,WAAW,EACX,OAAO,EACP,mCAAmC,GACpC,EAAE,cAAc,uBAiDhB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { MapMarkerProps } from '../types';
|
|
3
|
-
export default function MapboxMarkers({ clusters, colors, clusterIcon,
|
|
3
|
+
export default function MapboxMarkers({ clusters, colors, clusterIcon, onClick, doesSuperclusterContainActiveMarker, }: MapMarkerProps): React.JSX.Element[];
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/Root/Markers/Mapbox/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/Root/Markers/Mapbox/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,KAAK,EAAgB,cAAc,EAAE,MAAM,UAAU,CAAC;AAQ7D,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,QAAQ,EACR,MAAM,EACN,WAAW,EACX,OAAO,EACP,mCAAmC,GACpC,EAAE,cAAc,uBAkDhB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { MapMarkerProps } from '../types';
|
|
3
|
-
export default function MaptilerMarkers({ clusters, colors, clusterIcon,
|
|
3
|
+
export default function MaptilerMarkers({ clusters, colors, clusterIcon, onClick, doesSuperclusterContainActiveMarker, }: MapMarkerProps): React.JSX.Element[];
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/Root/Markers/Maptiler/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/Root/Markers/Maptiler/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,KAAK,EAAgB,cAAc,EAAE,MAAM,UAAU,CAAC;AAQ7D,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACtC,QAAQ,EACR,MAAM,EACN,WAAW,EACX,OAAO,EACP,mCAAmC,GACpC,EAAE,cAAc,uBAkDhB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { MarkerProps } from './types';
|
|
3
|
-
export declare function Markers({ markers,
|
|
3
|
+
export declare function Markers({ markers, onClick, ...rest }: MarkerProps): React.JSX.Element | null;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/Root/Markers/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/Root/Markers/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;AAQxD,OAAO,KAAK,EAAE,WAAW,EAA6C,MAAM,SAAS,CAAC;AAatF,wBAAgB,OAAO,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,EAAE,WAAW,4BAiGjE"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { PointFeature, ClusterProperties } from 'supercluster';
|
|
3
3
|
import { Icon } from '@phosphor-icons/react';
|
|
4
|
-
import { bbox } from '@turf/turf';
|
|
5
4
|
import { Marker } from '../types';
|
|
6
5
|
export type ClusterPoint = PointFeature<ClusterProperties & Marker>;
|
|
7
6
|
export type MarkerPoint = {
|
|
@@ -10,16 +9,9 @@ export type MarkerPoint = {
|
|
|
10
9
|
longitude: number;
|
|
11
10
|
markers: Marker[];
|
|
12
11
|
};
|
|
13
|
-
type MarkerBoundsPadding = {
|
|
14
|
-
top: number;
|
|
15
|
-
bottom: number;
|
|
16
|
-
left: number;
|
|
17
|
-
right: number;
|
|
18
|
-
};
|
|
19
12
|
export type MarkerProps = {
|
|
20
13
|
markers: Marker[];
|
|
21
14
|
clusterIcon?: Icon;
|
|
22
|
-
markerBoundsPadding?: number | MarkerBoundsPadding;
|
|
23
15
|
colors?: {
|
|
24
16
|
background: string;
|
|
25
17
|
fill: string;
|
|
@@ -29,10 +21,7 @@ export type MarkerProps = {
|
|
|
29
21
|
};
|
|
30
22
|
export type MapMarkerProps = Omit<MarkerProps, "markers"> & {
|
|
31
23
|
clusters: ClusterPoint[];
|
|
32
|
-
markerBounds?: ReturnType<typeof bbox>;
|
|
33
|
-
markerBoundsPadding: MarkerBoundsPadding;
|
|
34
24
|
onClick: (cluster: ClusterPoint) => void;
|
|
35
25
|
doesSuperclusterContainActiveMarker: (clusterId: number) => boolean;
|
|
36
26
|
};
|
|
37
|
-
export {};
|
|
38
27
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/Root/Markers/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/Root/Markers/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,MAAM,YAAY,GAAG,YAAY,CAAC,iBAAiB,GAAG,MAAM,CAAC,CAAC;AAEpE,MAAM,MAAM,WAAW,GAAG;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB,MAAM,CAAC,EAAE;QACP,UAAU,EAAE,MAAM,CAAC;QACnB,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;IACxC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,GAAG;IAC1D,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,OAAO,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;IACzC,mCAAmC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC;CACrE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/Root/Popup/Google/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAMlD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,OAAO,aAAa,CAAC;AAGrB,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,QAAQ,EACR,SAAS,EACT,MAAiB,EACjB,OAAO,EACP,QAAQ,GACT,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/Root/Popup/Google/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAMlD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,OAAO,aAAa,CAAC;AAGrB,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,QAAQ,EACR,SAAS,EACT,MAAiB,EACjB,OAAO,EACP,QAAQ,GACT,EAAE,UAAU,4BA+CZ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/Root/Popup/Maptiler/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAMzC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,OAAO,aAAa,CAAC;AAGrB,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,QAAQ,EACR,SAAS,EACT,MAAM,EACN,MAAiB,EACjB,OAAO,EACP,QAAQ,GACT,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/Root/Popup/Maptiler/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAMzC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,OAAO,aAAa,CAAC;AAGrB,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,QAAQ,EACR,SAAS,EACT,MAAM,EACN,MAAiB,EACjB,OAAO,EACP,QAAQ,GACT,EAAE,UAAU,4BAyBZ"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { PopupProps } from './types';
|
|
3
|
-
export declare function Popup({ children, ...rest }: PopupProps): React.JSX.Element | null;
|
|
3
|
+
export declare function Popup({ children, anchor, ...rest }: PopupProps): React.JSX.Element | null;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/Root/Popup/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAQrC,wBAAgB,KAAK,CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/Root/Popup/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAQrC,wBAAgB,KAAK,CAAC,EAAE,QAAQ,EAAE,MAAiB,EAAE,GAAG,IAAI,EAAE,EAAE,UAAU,4BAyBzE"}
|
|
@@ -3,6 +3,8 @@ export declare const defaultMapValues: {
|
|
|
3
3
|
pitch: number;
|
|
4
4
|
bearing: number;
|
|
5
5
|
cooperativeGestures: boolean;
|
|
6
|
+
minZoom: number;
|
|
7
|
+
maxZoom: number;
|
|
6
8
|
};
|
|
7
9
|
export declare const defaultMapThemes: {
|
|
8
10
|
maptiler: string;
|
|
@@ -11,6 +13,7 @@ export declare const defaultMapThemes: {
|
|
|
11
13
|
};
|
|
12
14
|
export declare const MIN_CLUSTER_ZOOM = 13;
|
|
13
15
|
export declare const MAX_CLUSTER_ZOOM = 22;
|
|
16
|
+
export declare const MIN_ZOOM_ICON_DISPLAY = 12.5;
|
|
14
17
|
export declare const CLUSTER_RADIUS = 30;
|
|
15
18
|
export declare const GOOGLE_CLUSTER_RADIUS = 60;
|
|
16
19
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/components/Map/Root/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/components/Map/Root/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;;;;;CAO5B,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;CAI5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,KAAK,CAAC;AACnC,eAAO,MAAM,gBAAgB,KAAK,CAAC;AACnC,eAAO,MAAM,qBAAqB,OAAO,CAAC;AAC1C,eAAO,MAAM,cAAc,KAAK,CAAC;AACjC,eAAO,MAAM,qBAAqB,KAAK,CAAC"}
|
|
@@ -3,6 +3,8 @@ import { BBox } from 'geojson';
|
|
|
3
3
|
import { RootProps } from './types';
|
|
4
4
|
export type DefaultContext = RootProps & {
|
|
5
5
|
activeMarker?: RootProps["activeMarker"];
|
|
6
|
+
markerPoints?: number[][];
|
|
7
|
+
setMarkerPoints: (points: number[][]) => void;
|
|
6
8
|
bounds?: BBox;
|
|
7
9
|
setBounds: (bounds: BBox) => void;
|
|
8
10
|
zoom: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../src/components/Map/Root/context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG;IACvC,YAAY,CAAC,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACzC,MAAM,CAAC,EAAE,IAAI,CAAC;IACd,SAAS,EAAE,CAAC,MAAM,EAAE,IAAI,KAAK,IAAI,CAAC;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC,CAAC;AAEF,QAAA,MAAM,kBAAkB,+BAA4D,CAAC;AACrF,QAAA,MAAM,cAAc,sBAAuC,CAAC;AAE5D,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../src/components/Map/Root/context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG;IACvC,YAAY,CAAC,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACzC,YAAY,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC;IAC1B,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,KAAK,IAAI,CAAC;IAC9C,MAAM,CAAC,EAAE,IAAI,CAAC;IACd,SAAS,EAAE,CAAC,MAAM,EAAE,IAAI,KAAK,IAAI,CAAC;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC,CAAC;AAEF,QAAA,MAAM,kBAAkB,+BAA4D,CAAC;AACrF,QAAA,MAAM,cAAc,sBAAuC,CAAC;AAE5D,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Map/Root/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAIzC,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Map/Root/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAIzC,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,qBAYpC;AAED,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * as LocalLogicMap from './Root';
|
|
2
2
|
export type { RootProps, MapProvider, Marker, Coordinates, ZoomPosition } from './Root/types';
|
|
3
3
|
export type { MarkerPoint } from './Root/Markers/types';
|
|
4
|
-
export type { Source, Layer } from './Root/Layers/types';
|
|
4
|
+
export type { Source, Layer, LayerType } from './Root/Layers/types';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Map/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,QAAQ,CAAC;AACxC,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC9F,YAAY,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Map/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,QAAQ,CAAC;AACxC,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC9F,YAAY,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC"}
|