@twinmatrix/spatialverse-sdk-web 0.1.0
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/README.md +4 -0
- package/lib/cjs/index.js +642 -0
- package/lib/cjs/react/index.js +642 -0
- package/lib/esm/index.js +642 -0
- package/lib/esm/react/index.js +642 -0
- package/lib/types/index.d.ts +17 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/index.spec.d.ts +1 -0
- package/lib/types/index.spec.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/CustomThreeJsWrapper.d.ts +32 -0
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/CustomThreeJsWrapper.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraSync.d.ts +30 -0
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraSync.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraUtils.d.ts +5 -0
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraUtils.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/constants.d.ts +21 -0
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/constants.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/suncalc.d.ts +27 -0
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/suncalc.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/utils.d.ts +13 -0
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/utils.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/MainMap.d.ts +28 -0
- package/lib/types/meta-atlas-sdk/3DMap/MainMap.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/fetch-published-json.d.ts +26 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/fetch-published-json.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/fetchMapObjectsData.d.ts +13 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/fetchMapObjectsData.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focustree.d.ts +406 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focustree.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/meta-atlas-sdk-core.d.ts +573 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/meta-atlas-sdk-core.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/index.d.ts +6 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/index.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/interfaces.d.ts +142 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/interfaces.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/mapObjectsHelper.d.ts +13 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/mapObjectsHelper.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/routeLayers.d.ts +171 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/routeLayers.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/routing-helpers.d.ts +73 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/routing-helpers.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/utils.d.ts +31 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/utils.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/whatTaxonomies.d.ts +59 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/whatTaxonomies.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/customStyles.d.ts +243 -0
- package/lib/types/meta-atlas-sdk/customStyles.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/customerLayer.d.ts +6385 -0
- package/lib/types/meta-atlas-sdk/customerLayer.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/customerLayerVariant.d.ts +5156 -0
- package/lib/types/meta-atlas-sdk/customerLayerVariant.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/mapbox_draw_custom_modes/draw_marker.d.ts +18 -0
- package/lib/types/meta-atlas-sdk/mapbox_draw_custom_modes/draw_marker.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/mapbox_draw_custom_modes/marker_select.d.ts +37 -0
- package/lib/types/meta-atlas-sdk/mapbox_draw_custom_modes/marker_select.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/meta-atlas-sdk.d.ts +548 -0
- package/lib/types/meta-atlas-sdk/meta-atlas-sdk.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/utils/helpers.d.ts +4 -0
- package/lib/types/meta-atlas-sdk/utils/helpers.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/utils/local-storage.d.ts +8 -0
- package/lib/types/meta-atlas-sdk/utils/local-storage.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/utils/mapobjects-store.d.ts +6 -0
- package/lib/types/meta-atlas-sdk/utils/mapobjects-store.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/utils/routing-store.d.ts +6 -0
- package/lib/types/meta-atlas-sdk/utils/routing-store.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/utils/routing-visualizer/index.d.ts +42 -0
- package/lib/types/meta-atlas-sdk/utils/routing-visualizer/index.d.ts.map +1 -0
- package/lib/types/react/MetaAtlasMap.d.ts +4 -0
- package/lib/types/react/MetaAtlasMap.d.ts.map +1 -0
- package/lib/types/react/hooks/useDrawing/index.d.ts +3 -0
- package/lib/types/react/hooks/useDrawing/index.d.ts.map +1 -0
- package/lib/types/react/hooks/useDrawing/types.d.ts +5 -0
- package/lib/types/react/hooks/useDrawing/types.d.ts.map +1 -0
- package/lib/types/react/hooks/useFocus/index.d.ts +3 -0
- package/lib/types/react/hooks/useFocus/index.d.ts.map +1 -0
- package/lib/types/react/hooks/useFocus/types.d.ts +28 -0
- package/lib/types/react/hooks/useFocus/types.d.ts.map +1 -0
- package/lib/types/react/hooks/useMapEvents/index.d.ts +3 -0
- package/lib/types/react/hooks/useMapEvents/index.d.ts.map +1 -0
- package/lib/types/react/hooks/useMapEvents/types.d.ts +28 -0
- package/lib/types/react/hooks/useMapEvents/types.d.ts.map +1 -0
- package/lib/types/react/hooks/useMapOverlays/index.d.ts +8 -0
- package/lib/types/react/hooks/useMapOverlays/index.d.ts.map +1 -0
- package/lib/types/react/hooks/useMapOverlays/types.d.ts +80 -0
- package/lib/types/react/hooks/useMapOverlays/types.d.ts.map +1 -0
- package/lib/types/react/hooks/useMetaAtlas/index.d.ts +3 -0
- package/lib/types/react/hooks/useMetaAtlas/index.d.ts.map +1 -0
- package/lib/types/react/hooks/useMetaAtlas/types.d.ts +2 -0
- package/lib/types/react/hooks/useMetaAtlas/types.d.ts.map +1 -0
- package/lib/types/react/hooks/useRouting/index.d.ts +3 -0
- package/lib/types/react/hooks/useRouting/index.d.ts.map +1 -0
- package/lib/types/react/hooks/useRouting/types.d.ts +5 -0
- package/lib/types/react/hooks/useRouting/types.d.ts.map +1 -0
- package/lib/types/react/hooks/useSearch/index.d.ts +3 -0
- package/lib/types/react/hooks/useSearch/index.d.ts.map +1 -0
- package/lib/types/react/hooks/useSearch/types.d.ts +7 -0
- package/lib/types/react/hooks/useSearch/types.d.ts.map +1 -0
- package/lib/types/react/hooks/useStampRally/index.d.ts +3 -0
- package/lib/types/react/hooks/useStampRally/index.d.ts.map +1 -0
- package/lib/types/react/hooks/useStampRally/types.d.ts +24 -0
- package/lib/types/react/hooks/useStampRally/types.d.ts.map +1 -0
- package/lib/types/react/hooks/useStampRally/utils.d.ts +3 -0
- package/lib/types/react/hooks/useStampRally/utils.d.ts.map +1 -0
- package/lib/types/react/index.d.ts +21 -0
- package/lib/types/react/index.d.ts.map +1 -0
- package/lib/types/react/stores/useMapDataStore.d.ts +35 -0
- package/lib/types/react/stores/useMapDataStore.d.ts.map +1 -0
- package/lib/types/react/stores/useMetaAtlasStore.d.ts +25 -0
- package/lib/types/react/stores/useMetaAtlasStore.d.ts.map +1 -0
- package/lib/types/react/types/index.d.ts +80 -0
- package/lib/types/react/types/index.d.ts.map +1 -0
- package/package.json +121 -0
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
export declare const customStyles: ({
|
|
2
|
+
id: string;
|
|
3
|
+
type: string;
|
|
4
|
+
filter: (string | (string | string[])[])[];
|
|
5
|
+
paint: {
|
|
6
|
+
"fill-color": string;
|
|
7
|
+
"fill-outline-color": string;
|
|
8
|
+
"fill-opacity": number;
|
|
9
|
+
"line-color"?: undefined;
|
|
10
|
+
"line-width"?: undefined;
|
|
11
|
+
"line-opacity"?: undefined;
|
|
12
|
+
"circle-radius"?: undefined;
|
|
13
|
+
"circle-color"?: undefined;
|
|
14
|
+
"circle-opacity"?: undefined;
|
|
15
|
+
"icon-opacity"?: undefined;
|
|
16
|
+
};
|
|
17
|
+
layout?: undefined;
|
|
18
|
+
} | {
|
|
19
|
+
id: string;
|
|
20
|
+
type: string;
|
|
21
|
+
filter: (string | (string | string[])[])[];
|
|
22
|
+
layout: {
|
|
23
|
+
"line-cap": string;
|
|
24
|
+
"line-join": string;
|
|
25
|
+
'icon-image'?: undefined;
|
|
26
|
+
'icon-offset'?: undefined;
|
|
27
|
+
'icon-allow-overlap'?: undefined;
|
|
28
|
+
};
|
|
29
|
+
paint: {
|
|
30
|
+
"line-color": string;
|
|
31
|
+
"line-width": number;
|
|
32
|
+
"fill-color"?: undefined;
|
|
33
|
+
"fill-outline-color"?: undefined;
|
|
34
|
+
"fill-opacity"?: undefined;
|
|
35
|
+
"line-opacity"?: undefined;
|
|
36
|
+
"circle-radius"?: undefined;
|
|
37
|
+
"circle-color"?: undefined;
|
|
38
|
+
"circle-opacity"?: undefined;
|
|
39
|
+
"icon-opacity"?: undefined;
|
|
40
|
+
};
|
|
41
|
+
} | {
|
|
42
|
+
id: string;
|
|
43
|
+
type: string;
|
|
44
|
+
filter: (string | (string | string[])[])[];
|
|
45
|
+
layout: {
|
|
46
|
+
"line-cap": string;
|
|
47
|
+
"line-join": string;
|
|
48
|
+
'icon-image'?: undefined;
|
|
49
|
+
'icon-offset'?: undefined;
|
|
50
|
+
'icon-allow-overlap'?: undefined;
|
|
51
|
+
};
|
|
52
|
+
paint: {
|
|
53
|
+
"line-color": string;
|
|
54
|
+
"line-width": number;
|
|
55
|
+
"line-opacity": number;
|
|
56
|
+
"fill-color"?: undefined;
|
|
57
|
+
"fill-outline-color"?: undefined;
|
|
58
|
+
"fill-opacity"?: undefined;
|
|
59
|
+
"circle-radius"?: undefined;
|
|
60
|
+
"circle-color"?: undefined;
|
|
61
|
+
"circle-opacity"?: undefined;
|
|
62
|
+
"icon-opacity"?: undefined;
|
|
63
|
+
};
|
|
64
|
+
} | {
|
|
65
|
+
id: string;
|
|
66
|
+
type: string;
|
|
67
|
+
filter: (string | (string | string[])[])[];
|
|
68
|
+
paint: {
|
|
69
|
+
"circle-radius": number;
|
|
70
|
+
"circle-color": string;
|
|
71
|
+
"fill-color"?: undefined;
|
|
72
|
+
"fill-outline-color"?: undefined;
|
|
73
|
+
"fill-opacity"?: undefined;
|
|
74
|
+
"line-color"?: undefined;
|
|
75
|
+
"line-width"?: undefined;
|
|
76
|
+
"line-opacity"?: undefined;
|
|
77
|
+
"circle-opacity"?: undefined;
|
|
78
|
+
"icon-opacity"?: undefined;
|
|
79
|
+
};
|
|
80
|
+
layout?: undefined;
|
|
81
|
+
} | {
|
|
82
|
+
id: string;
|
|
83
|
+
type: string;
|
|
84
|
+
filter: (string | (string | string[])[])[];
|
|
85
|
+
paint: {
|
|
86
|
+
"circle-radius": number;
|
|
87
|
+
"circle-opacity": number;
|
|
88
|
+
"circle-color": string;
|
|
89
|
+
"fill-color"?: undefined;
|
|
90
|
+
"fill-outline-color"?: undefined;
|
|
91
|
+
"fill-opacity"?: undefined;
|
|
92
|
+
"line-color"?: undefined;
|
|
93
|
+
"line-width"?: undefined;
|
|
94
|
+
"line-opacity"?: undefined;
|
|
95
|
+
"icon-opacity"?: undefined;
|
|
96
|
+
};
|
|
97
|
+
layout?: undefined;
|
|
98
|
+
} | {
|
|
99
|
+
id: string;
|
|
100
|
+
type: string;
|
|
101
|
+
filter: (string | (string | string[])[])[];
|
|
102
|
+
paint: {
|
|
103
|
+
"icon-opacity": number;
|
|
104
|
+
"fill-color"?: undefined;
|
|
105
|
+
"fill-outline-color"?: undefined;
|
|
106
|
+
"fill-opacity"?: undefined;
|
|
107
|
+
"line-color"?: undefined;
|
|
108
|
+
"line-width"?: undefined;
|
|
109
|
+
"line-opacity"?: undefined;
|
|
110
|
+
"circle-radius"?: undefined;
|
|
111
|
+
"circle-color"?: undefined;
|
|
112
|
+
"circle-opacity"?: undefined;
|
|
113
|
+
};
|
|
114
|
+
layout: {
|
|
115
|
+
'icon-image': string;
|
|
116
|
+
'icon-offset': number[];
|
|
117
|
+
'icon-allow-overlap': boolean;
|
|
118
|
+
"line-cap"?: undefined;
|
|
119
|
+
"line-join"?: undefined;
|
|
120
|
+
};
|
|
121
|
+
})[];
|
|
122
|
+
export declare const mapBoxDrawDefaultStyles: ({
|
|
123
|
+
id: string;
|
|
124
|
+
type: string;
|
|
125
|
+
filter: (string | string[])[];
|
|
126
|
+
paint: {
|
|
127
|
+
'fill-color': string;
|
|
128
|
+
'fill-outline-color': string;
|
|
129
|
+
'fill-opacity': number;
|
|
130
|
+
"circle-radius"?: undefined;
|
|
131
|
+
"circle-color"?: undefined;
|
|
132
|
+
"line-color"?: undefined;
|
|
133
|
+
"line-width"?: undefined;
|
|
134
|
+
'line-dasharray'?: undefined;
|
|
135
|
+
"circle-opacity"?: undefined;
|
|
136
|
+
"icon-opacity"?: undefined;
|
|
137
|
+
};
|
|
138
|
+
layout?: undefined;
|
|
139
|
+
} | {
|
|
140
|
+
id: string;
|
|
141
|
+
type: string;
|
|
142
|
+
filter: (string | string[])[];
|
|
143
|
+
paint: {
|
|
144
|
+
'circle-radius': number;
|
|
145
|
+
'circle-color': string;
|
|
146
|
+
"fill-color"?: undefined;
|
|
147
|
+
"fill-outline-color"?: undefined;
|
|
148
|
+
"fill-opacity"?: undefined;
|
|
149
|
+
"line-color"?: undefined;
|
|
150
|
+
"line-width"?: undefined;
|
|
151
|
+
'line-dasharray'?: undefined;
|
|
152
|
+
"circle-opacity"?: undefined;
|
|
153
|
+
"icon-opacity"?: undefined;
|
|
154
|
+
};
|
|
155
|
+
layout?: undefined;
|
|
156
|
+
} | {
|
|
157
|
+
id: string;
|
|
158
|
+
type: string;
|
|
159
|
+
filter: (string | string[])[];
|
|
160
|
+
layout: {
|
|
161
|
+
'line-cap': string;
|
|
162
|
+
'line-join': string;
|
|
163
|
+
'icon-image'?: undefined;
|
|
164
|
+
'icon-offset'?: undefined;
|
|
165
|
+
'icon-allow-overlap'?: undefined;
|
|
166
|
+
};
|
|
167
|
+
paint: {
|
|
168
|
+
'line-color': string;
|
|
169
|
+
'line-width': number;
|
|
170
|
+
"fill-color"?: undefined;
|
|
171
|
+
"fill-outline-color"?: undefined;
|
|
172
|
+
"fill-opacity"?: undefined;
|
|
173
|
+
"circle-radius"?: undefined;
|
|
174
|
+
"circle-color"?: undefined;
|
|
175
|
+
'line-dasharray'?: undefined;
|
|
176
|
+
"circle-opacity"?: undefined;
|
|
177
|
+
"icon-opacity"?: undefined;
|
|
178
|
+
};
|
|
179
|
+
} | {
|
|
180
|
+
id: string;
|
|
181
|
+
type: string;
|
|
182
|
+
filter: (string | string[])[];
|
|
183
|
+
layout: {
|
|
184
|
+
'line-cap': string;
|
|
185
|
+
'line-join': string;
|
|
186
|
+
'icon-image'?: undefined;
|
|
187
|
+
'icon-offset'?: undefined;
|
|
188
|
+
'icon-allow-overlap'?: undefined;
|
|
189
|
+
};
|
|
190
|
+
paint: {
|
|
191
|
+
'line-color': string;
|
|
192
|
+
'line-dasharray': number[];
|
|
193
|
+
'line-width': number;
|
|
194
|
+
"fill-color"?: undefined;
|
|
195
|
+
"fill-outline-color"?: undefined;
|
|
196
|
+
"fill-opacity"?: undefined;
|
|
197
|
+
"circle-radius"?: undefined;
|
|
198
|
+
"circle-color"?: undefined;
|
|
199
|
+
"circle-opacity"?: undefined;
|
|
200
|
+
"icon-opacity"?: undefined;
|
|
201
|
+
};
|
|
202
|
+
} | {
|
|
203
|
+
id: string;
|
|
204
|
+
type: string;
|
|
205
|
+
filter: (string | string[])[];
|
|
206
|
+
paint: {
|
|
207
|
+
'circle-radius': number;
|
|
208
|
+
'circle-opacity': number;
|
|
209
|
+
'circle-color': string;
|
|
210
|
+
"fill-color"?: undefined;
|
|
211
|
+
"fill-outline-color"?: undefined;
|
|
212
|
+
"fill-opacity"?: undefined;
|
|
213
|
+
"line-color"?: undefined;
|
|
214
|
+
"line-width"?: undefined;
|
|
215
|
+
'line-dasharray'?: undefined;
|
|
216
|
+
"icon-opacity"?: undefined;
|
|
217
|
+
};
|
|
218
|
+
layout?: undefined;
|
|
219
|
+
} | {
|
|
220
|
+
id: string;
|
|
221
|
+
type: string;
|
|
222
|
+
filter: (string | string[])[];
|
|
223
|
+
paint: {
|
|
224
|
+
"icon-opacity": number;
|
|
225
|
+
"fill-color"?: undefined;
|
|
226
|
+
"fill-outline-color"?: undefined;
|
|
227
|
+
"fill-opacity"?: undefined;
|
|
228
|
+
"circle-radius"?: undefined;
|
|
229
|
+
"circle-color"?: undefined;
|
|
230
|
+
"line-color"?: undefined;
|
|
231
|
+
"line-width"?: undefined;
|
|
232
|
+
'line-dasharray'?: undefined;
|
|
233
|
+
"circle-opacity"?: undefined;
|
|
234
|
+
};
|
|
235
|
+
layout: {
|
|
236
|
+
'icon-image': string;
|
|
237
|
+
'icon-offset': number[];
|
|
238
|
+
'icon-allow-overlap': boolean;
|
|
239
|
+
"line-cap"?: undefined;
|
|
240
|
+
"line-join"?: undefined;
|
|
241
|
+
};
|
|
242
|
+
})[];
|
|
243
|
+
//# sourceMappingURL=customStyles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customStyles.d.ts","sourceRoot":"","sources":["../../../src/meta-atlas-sdk/customStyles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6HtB,CAAC;AAEJ,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6QnC,CAAC"}
|