@ogc-maps/storybook-components 0.5.3 → 0.6.1
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/Legend-B6uIqOSw.js +239 -0
- package/dist/components/LayerEditor/LayerEditor.d.ts +2 -1
- package/dist/components/LayerEditor/LayerEditor.d.ts.map +1 -1
- package/dist/components/LayerEditor/LayerList.d.ts +2 -1
- package/dist/components/LayerEditor/LayerList.d.ts.map +1 -1
- package/dist/components/Legend/Legend.d.ts +2 -1
- package/dist/components/Legend/Legend.d.ts.map +1 -1
- package/dist/components/Legend/index.js +1 -1
- package/dist/components/LegendEditor/LegendEditor.d.ts +3 -2
- package/dist/components/LegendEditor/LegendEditor.d.ts.map +1 -1
- package/dist/components/SpriteEditor/SpriteSourceEditor.d.ts +7 -0
- package/dist/components/SpriteEditor/SpriteSourceEditor.d.ts.map +1 -0
- package/dist/components/SpriteEditor/SpriteSourceList.d.ts +7 -0
- package/dist/components/SpriteEditor/SpriteSourceList.d.ts.map +1 -0
- package/dist/components/SpriteEditor/index.d.ts +5 -0
- package/dist/components/SpriteEditor/index.d.ts.map +1 -0
- package/dist/components/StyleEditor/DataDrivenColorEditor.d.ts +9 -0
- package/dist/components/StyleEditor/DataDrivenColorEditor.d.ts.map +1 -0
- package/dist/components/StyleEditor/IconImagePicker.d.ts +8 -0
- package/dist/components/StyleEditor/IconImagePicker.d.ts.map +1 -0
- package/dist/components/StyleEditor/PropertyField.d.ts +5 -1
- package/dist/components/StyleEditor/PropertyField.d.ts.map +1 -1
- package/dist/components/StyleEditor/PropertyGroup.d.ts +5 -1
- package/dist/components/StyleEditor/PropertyGroup.d.ts.map +1 -1
- package/dist/components/StyleEditor/StyleEditor.d.ts +6 -2
- package/dist/components/StyleEditor/StyleEditor.d.ts.map +1 -1
- package/dist/components/StyleEditor/StylePreview.d.ts.map +1 -1
- package/dist/components/StyleEditor/index.d.ts +2 -0
- package/dist/components/StyleEditor/index.d.ts.map +1 -1
- package/dist/components/StyleEditor/propertyMetadata.d.ts +1 -1
- package/dist/components/StyleEditor/propertyMetadata.d.ts.map +1 -1
- package/dist/components/UIConfigEditor/UIConfigEditor.d.ts.map +1 -1
- package/dist/components/admin/FormField.d.ts +2 -1
- package/dist/components/admin/FormField.d.ts.map +1 -1
- package/dist/components/admin/InfoTip.d.ts +6 -0
- package/dist/components/admin/InfoTip.d.ts.map +1 -0
- package/dist/components/admin/index.d.ts +2 -0
- package/dist/components/admin/index.d.ts.map +1 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/cql2-onoyCbps.js +413 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +18 -17
- package/dist/{index-DoToolWp.js → index-B4i0zJXf.js} +336 -327
- package/dist/main.js +2062 -1177
- package/dist/schemas/config.d.ts +393 -288
- package/dist/schemas/config.d.ts.map +1 -1
- package/dist/schemas/index.js +3 -3
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +3 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +16 -15
- package/dist/utils/__tests__/expressionColors.test.d.ts +2 -0
- package/dist/utils/__tests__/expressionColors.test.d.ts.map +1 -0
- package/dist/utils/colorPalettes.d.ts +5 -0
- package/dist/utils/colorPalettes.d.ts.map +1 -0
- package/dist/utils/expressionColors.d.ts +20 -0
- package/dist/utils/expressionColors.d.ts.map +1 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/queryableHelpers.d.ts +17 -0
- package/dist/utils/queryableHelpers.d.ts.map +1 -1
- package/dist/utils/spriteUtils.d.ts +32 -0
- package/dist/utils/spriteUtils.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/Legend-TTWWpWDT.js +0 -97
- package/dist/cql2-Dhe6Ny6v.js +0 -352
package/dist/schemas/config.d.ts
CHANGED
|
@@ -35,32 +35,32 @@ export declare const OgcApiSourceSchema: z.ZodObject<{
|
|
|
35
35
|
tileMatrixSetId?: string | undefined;
|
|
36
36
|
}>;
|
|
37
37
|
export declare const FillPaintSchema: z.ZodObject<{
|
|
38
|
-
'fill-color': z.ZodDefault<z.ZodString
|
|
38
|
+
'fill-color': z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
39
39
|
'fill-opacity': z.ZodDefault<z.ZodNumber>;
|
|
40
|
-
'fill-outline-color': z.ZodOptional<z.ZodString
|
|
40
|
+
'fill-outline-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
41
41
|
'fill-antialias': z.ZodOptional<z.ZodBoolean>;
|
|
42
42
|
'fill-translate': z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
43
43
|
'fill-translate-anchor': z.ZodOptional<z.ZodEnum<["map", "viewport"]>>;
|
|
44
44
|
'fill-pattern': z.ZodOptional<z.ZodString>;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
|
-
'fill-color': string;
|
|
46
|
+
'fill-color': string | unknown[];
|
|
47
47
|
'fill-opacity': number;
|
|
48
|
-
'fill-outline-color'?: string | undefined;
|
|
48
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
49
49
|
'fill-antialias'?: boolean | undefined;
|
|
50
50
|
'fill-translate'?: [number, number] | undefined;
|
|
51
51
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
52
52
|
'fill-pattern'?: string | undefined;
|
|
53
53
|
}, {
|
|
54
|
-
'fill-color'?: string | undefined;
|
|
54
|
+
'fill-color'?: string | unknown[] | undefined;
|
|
55
55
|
'fill-opacity'?: number | undefined;
|
|
56
|
-
'fill-outline-color'?: string | undefined;
|
|
56
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
57
57
|
'fill-antialias'?: boolean | undefined;
|
|
58
58
|
'fill-translate'?: [number, number] | undefined;
|
|
59
59
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
60
60
|
'fill-pattern'?: string | undefined;
|
|
61
61
|
}>;
|
|
62
62
|
export declare const LinePaintSchema: z.ZodObject<{
|
|
63
|
-
'line-color': z.ZodDefault<z.ZodString
|
|
63
|
+
'line-color': z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
64
64
|
'line-width': z.ZodDefault<z.ZodNumber>;
|
|
65
65
|
'line-opacity': z.ZodDefault<z.ZodNumber>;
|
|
66
66
|
'line-dasharray': z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
@@ -72,7 +72,7 @@ export declare const LinePaintSchema: z.ZodObject<{
|
|
|
72
72
|
'line-pattern': z.ZodOptional<z.ZodString>;
|
|
73
73
|
'line-gradient': z.ZodOptional<z.ZodString>;
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
|
-
'line-color': string;
|
|
75
|
+
'line-color': string | unknown[];
|
|
76
76
|
'line-width': number;
|
|
77
77
|
'line-opacity': number;
|
|
78
78
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -84,7 +84,7 @@ export declare const LinePaintSchema: z.ZodObject<{
|
|
|
84
84
|
'line-pattern'?: string | undefined;
|
|
85
85
|
'line-gradient'?: string | undefined;
|
|
86
86
|
}, {
|
|
87
|
-
'line-color'?: string | undefined;
|
|
87
|
+
'line-color'?: string | unknown[] | undefined;
|
|
88
88
|
'line-width'?: number | undefined;
|
|
89
89
|
'line-opacity'?: number | undefined;
|
|
90
90
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -97,10 +97,10 @@ export declare const LinePaintSchema: z.ZodObject<{
|
|
|
97
97
|
'line-gradient'?: string | undefined;
|
|
98
98
|
}>;
|
|
99
99
|
export declare const CirclePaintSchema: z.ZodObject<{
|
|
100
|
-
'circle-color': z.ZodDefault<z.ZodString
|
|
100
|
+
'circle-color': z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
101
101
|
'circle-radius': z.ZodDefault<z.ZodNumber>;
|
|
102
102
|
'circle-opacity': z.ZodDefault<z.ZodNumber>;
|
|
103
|
-
'circle-stroke-color': z.ZodOptional<z.ZodString
|
|
103
|
+
'circle-stroke-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
104
104
|
'circle-stroke-width': z.ZodOptional<z.ZodNumber>;
|
|
105
105
|
'circle-blur': z.ZodOptional<z.ZodNumber>;
|
|
106
106
|
'circle-translate': z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
@@ -109,10 +109,10 @@ export declare const CirclePaintSchema: z.ZodObject<{
|
|
|
109
109
|
'circle-pitch-alignment': z.ZodOptional<z.ZodEnum<["map", "viewport"]>>;
|
|
110
110
|
'circle-stroke-opacity': z.ZodOptional<z.ZodNumber>;
|
|
111
111
|
}, "strip", z.ZodTypeAny, {
|
|
112
|
-
'circle-color': string;
|
|
112
|
+
'circle-color': string | unknown[];
|
|
113
113
|
'circle-radius': number;
|
|
114
114
|
'circle-opacity': number;
|
|
115
|
-
'circle-stroke-color'?: string | undefined;
|
|
115
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
116
116
|
'circle-stroke-width'?: number | undefined;
|
|
117
117
|
'circle-blur'?: number | undefined;
|
|
118
118
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -121,10 +121,10 @@ export declare const CirclePaintSchema: z.ZodObject<{
|
|
|
121
121
|
'circle-pitch-alignment'?: "map" | "viewport" | undefined;
|
|
122
122
|
'circle-stroke-opacity'?: number | undefined;
|
|
123
123
|
}, {
|
|
124
|
-
'circle-color'?: string | undefined;
|
|
124
|
+
'circle-color'?: string | unknown[] | undefined;
|
|
125
125
|
'circle-radius'?: number | undefined;
|
|
126
126
|
'circle-opacity'?: number | undefined;
|
|
127
|
-
'circle-stroke-color'?: string | undefined;
|
|
127
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
128
128
|
'circle-stroke-width'?: number | undefined;
|
|
129
129
|
'circle-blur'?: number | undefined;
|
|
130
130
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -135,45 +135,45 @@ export declare const CirclePaintSchema: z.ZodObject<{
|
|
|
135
135
|
}>;
|
|
136
136
|
export declare const SymbolPaintSchema: z.ZodObject<{
|
|
137
137
|
'icon-opacity': z.ZodOptional<z.ZodNumber>;
|
|
138
|
-
'icon-color': z.ZodOptional<z.ZodString
|
|
139
|
-
'icon-halo-color': z.ZodOptional<z.ZodString
|
|
138
|
+
'icon-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
139
|
+
'icon-halo-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
140
140
|
'icon-halo-width': z.ZodOptional<z.ZodNumber>;
|
|
141
141
|
'icon-halo-blur': z.ZodOptional<z.ZodNumber>;
|
|
142
142
|
'icon-translate': z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
143
143
|
'icon-translate-anchor': z.ZodOptional<z.ZodEnum<["map", "viewport"]>>;
|
|
144
144
|
'text-opacity': z.ZodOptional<z.ZodNumber>;
|
|
145
|
-
'text-color': z.ZodOptional<z.ZodString
|
|
146
|
-
'text-halo-color': z.ZodOptional<z.ZodString
|
|
145
|
+
'text-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
146
|
+
'text-halo-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
147
147
|
'text-halo-width': z.ZodOptional<z.ZodNumber>;
|
|
148
148
|
'text-halo-blur': z.ZodOptional<z.ZodNumber>;
|
|
149
149
|
'text-translate': z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
150
150
|
'text-translate-anchor': z.ZodOptional<z.ZodEnum<["map", "viewport"]>>;
|
|
151
151
|
}, "strip", z.ZodTypeAny, {
|
|
152
152
|
'icon-opacity'?: number | undefined;
|
|
153
|
-
'icon-color'?: string | undefined;
|
|
154
|
-
'icon-halo-color'?: string | undefined;
|
|
153
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
154
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
155
155
|
'icon-halo-width'?: number | undefined;
|
|
156
156
|
'icon-halo-blur'?: number | undefined;
|
|
157
157
|
'icon-translate'?: [number, number] | undefined;
|
|
158
158
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
159
159
|
'text-opacity'?: number | undefined;
|
|
160
|
-
'text-color'?: string | undefined;
|
|
161
|
-
'text-halo-color'?: string | undefined;
|
|
160
|
+
'text-color'?: string | unknown[] | undefined;
|
|
161
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
162
162
|
'text-halo-width'?: number | undefined;
|
|
163
163
|
'text-halo-blur'?: number | undefined;
|
|
164
164
|
'text-translate'?: [number, number] | undefined;
|
|
165
165
|
'text-translate-anchor'?: "map" | "viewport" | undefined;
|
|
166
166
|
}, {
|
|
167
167
|
'icon-opacity'?: number | undefined;
|
|
168
|
-
'icon-color'?: string | undefined;
|
|
169
|
-
'icon-halo-color'?: string | undefined;
|
|
168
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
169
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
170
170
|
'icon-halo-width'?: number | undefined;
|
|
171
171
|
'icon-halo-blur'?: number | undefined;
|
|
172
172
|
'icon-translate'?: [number, number] | undefined;
|
|
173
173
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
174
174
|
'text-opacity'?: number | undefined;
|
|
175
|
-
'text-color'?: string | undefined;
|
|
176
|
-
'text-halo-color'?: string | undefined;
|
|
175
|
+
'text-color'?: string | unknown[] | undefined;
|
|
176
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
177
177
|
'text-halo-width'?: number | undefined;
|
|
178
178
|
'text-halo-blur'?: number | undefined;
|
|
179
179
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -345,25 +345,25 @@ export declare const SymbolLayoutSchema: z.ZodObject<{
|
|
|
345
345
|
export declare const FillStyleSchema: z.ZodObject<{
|
|
346
346
|
type: z.ZodLiteral<"fill">;
|
|
347
347
|
paint: z.ZodObject<{
|
|
348
|
-
'fill-color': z.ZodDefault<z.ZodString
|
|
348
|
+
'fill-color': z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
349
349
|
'fill-opacity': z.ZodDefault<z.ZodNumber>;
|
|
350
|
-
'fill-outline-color': z.ZodOptional<z.ZodString
|
|
350
|
+
'fill-outline-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
351
351
|
'fill-antialias': z.ZodOptional<z.ZodBoolean>;
|
|
352
352
|
'fill-translate': z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
353
353
|
'fill-translate-anchor': z.ZodOptional<z.ZodEnum<["map", "viewport"]>>;
|
|
354
354
|
'fill-pattern': z.ZodOptional<z.ZodString>;
|
|
355
355
|
}, "strip", z.ZodTypeAny, {
|
|
356
|
-
'fill-color': string;
|
|
356
|
+
'fill-color': string | unknown[];
|
|
357
357
|
'fill-opacity': number;
|
|
358
|
-
'fill-outline-color'?: string | undefined;
|
|
358
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
359
359
|
'fill-antialias'?: boolean | undefined;
|
|
360
360
|
'fill-translate'?: [number, number] | undefined;
|
|
361
361
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
362
362
|
'fill-pattern'?: string | undefined;
|
|
363
363
|
}, {
|
|
364
|
-
'fill-color'?: string | undefined;
|
|
364
|
+
'fill-color'?: string | unknown[] | undefined;
|
|
365
365
|
'fill-opacity'?: number | undefined;
|
|
366
|
-
'fill-outline-color'?: string | undefined;
|
|
366
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
367
367
|
'fill-antialias'?: boolean | undefined;
|
|
368
368
|
'fill-translate'?: [number, number] | undefined;
|
|
369
369
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -382,9 +382,9 @@ export declare const FillStyleSchema: z.ZodObject<{
|
|
|
382
382
|
}, "strip", z.ZodTypeAny, {
|
|
383
383
|
type: "fill";
|
|
384
384
|
paint: {
|
|
385
|
-
'fill-color': string;
|
|
385
|
+
'fill-color': string | unknown[];
|
|
386
386
|
'fill-opacity': number;
|
|
387
|
-
'fill-outline-color'?: string | undefined;
|
|
387
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
388
388
|
'fill-antialias'?: boolean | undefined;
|
|
389
389
|
'fill-translate'?: [number, number] | undefined;
|
|
390
390
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -397,9 +397,9 @@ export declare const FillStyleSchema: z.ZodObject<{
|
|
|
397
397
|
}, {
|
|
398
398
|
type: "fill";
|
|
399
399
|
paint: {
|
|
400
|
-
'fill-color'?: string | undefined;
|
|
400
|
+
'fill-color'?: string | unknown[] | undefined;
|
|
401
401
|
'fill-opacity'?: number | undefined;
|
|
402
|
-
'fill-outline-color'?: string | undefined;
|
|
402
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
403
403
|
'fill-antialias'?: boolean | undefined;
|
|
404
404
|
'fill-translate'?: [number, number] | undefined;
|
|
405
405
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -413,7 +413,7 @@ export declare const FillStyleSchema: z.ZodObject<{
|
|
|
413
413
|
export declare const LineStyleSchema: z.ZodObject<{
|
|
414
414
|
type: z.ZodLiteral<"line">;
|
|
415
415
|
paint: z.ZodObject<{
|
|
416
|
-
'line-color': z.ZodDefault<z.ZodString
|
|
416
|
+
'line-color': z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
417
417
|
'line-width': z.ZodDefault<z.ZodNumber>;
|
|
418
418
|
'line-opacity': z.ZodDefault<z.ZodNumber>;
|
|
419
419
|
'line-dasharray': z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
@@ -425,7 +425,7 @@ export declare const LineStyleSchema: z.ZodObject<{
|
|
|
425
425
|
'line-pattern': z.ZodOptional<z.ZodString>;
|
|
426
426
|
'line-gradient': z.ZodOptional<z.ZodString>;
|
|
427
427
|
}, "strip", z.ZodTypeAny, {
|
|
428
|
-
'line-color': string;
|
|
428
|
+
'line-color': string | unknown[];
|
|
429
429
|
'line-width': number;
|
|
430
430
|
'line-opacity': number;
|
|
431
431
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -437,7 +437,7 @@ export declare const LineStyleSchema: z.ZodObject<{
|
|
|
437
437
|
'line-pattern'?: string | undefined;
|
|
438
438
|
'line-gradient'?: string | undefined;
|
|
439
439
|
}, {
|
|
440
|
-
'line-color'?: string | undefined;
|
|
440
|
+
'line-color'?: string | unknown[] | undefined;
|
|
441
441
|
'line-width'?: number | undefined;
|
|
442
442
|
'line-opacity'?: number | undefined;
|
|
443
443
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -474,7 +474,7 @@ export declare const LineStyleSchema: z.ZodObject<{
|
|
|
474
474
|
}, "strip", z.ZodTypeAny, {
|
|
475
475
|
type: "line";
|
|
476
476
|
paint: {
|
|
477
|
-
'line-color': string;
|
|
477
|
+
'line-color': string | unknown[];
|
|
478
478
|
'line-width': number;
|
|
479
479
|
'line-opacity': number;
|
|
480
480
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -497,7 +497,7 @@ export declare const LineStyleSchema: z.ZodObject<{
|
|
|
497
497
|
}, {
|
|
498
498
|
type: "line";
|
|
499
499
|
paint: {
|
|
500
|
-
'line-color'?: string | undefined;
|
|
500
|
+
'line-color'?: string | unknown[] | undefined;
|
|
501
501
|
'line-width'?: number | undefined;
|
|
502
502
|
'line-opacity'?: number | undefined;
|
|
503
503
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -521,10 +521,10 @@ export declare const LineStyleSchema: z.ZodObject<{
|
|
|
521
521
|
export declare const CircleStyleSchema: z.ZodObject<{
|
|
522
522
|
type: z.ZodLiteral<"circle">;
|
|
523
523
|
paint: z.ZodObject<{
|
|
524
|
-
'circle-color': z.ZodDefault<z.ZodString
|
|
524
|
+
'circle-color': z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
525
525
|
'circle-radius': z.ZodDefault<z.ZodNumber>;
|
|
526
526
|
'circle-opacity': z.ZodDefault<z.ZodNumber>;
|
|
527
|
-
'circle-stroke-color': z.ZodOptional<z.ZodString
|
|
527
|
+
'circle-stroke-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
528
528
|
'circle-stroke-width': z.ZodOptional<z.ZodNumber>;
|
|
529
529
|
'circle-blur': z.ZodOptional<z.ZodNumber>;
|
|
530
530
|
'circle-translate': z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
@@ -533,10 +533,10 @@ export declare const CircleStyleSchema: z.ZodObject<{
|
|
|
533
533
|
'circle-pitch-alignment': z.ZodOptional<z.ZodEnum<["map", "viewport"]>>;
|
|
534
534
|
'circle-stroke-opacity': z.ZodOptional<z.ZodNumber>;
|
|
535
535
|
}, "strip", z.ZodTypeAny, {
|
|
536
|
-
'circle-color': string;
|
|
536
|
+
'circle-color': string | unknown[];
|
|
537
537
|
'circle-radius': number;
|
|
538
538
|
'circle-opacity': number;
|
|
539
|
-
'circle-stroke-color'?: string | undefined;
|
|
539
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
540
540
|
'circle-stroke-width'?: number | undefined;
|
|
541
541
|
'circle-blur'?: number | undefined;
|
|
542
542
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -545,10 +545,10 @@ export declare const CircleStyleSchema: z.ZodObject<{
|
|
|
545
545
|
'circle-pitch-alignment'?: "map" | "viewport" | undefined;
|
|
546
546
|
'circle-stroke-opacity'?: number | undefined;
|
|
547
547
|
}, {
|
|
548
|
-
'circle-color'?: string | undefined;
|
|
548
|
+
'circle-color'?: string | unknown[] | undefined;
|
|
549
549
|
'circle-radius'?: number | undefined;
|
|
550
550
|
'circle-opacity'?: number | undefined;
|
|
551
|
-
'circle-stroke-color'?: string | undefined;
|
|
551
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
552
552
|
'circle-stroke-width'?: number | undefined;
|
|
553
553
|
'circle-blur'?: number | undefined;
|
|
554
554
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -570,10 +570,10 @@ export declare const CircleStyleSchema: z.ZodObject<{
|
|
|
570
570
|
}, "strip", z.ZodTypeAny, {
|
|
571
571
|
type: "circle";
|
|
572
572
|
paint: {
|
|
573
|
-
'circle-color': string;
|
|
573
|
+
'circle-color': string | unknown[];
|
|
574
574
|
'circle-radius': number;
|
|
575
575
|
'circle-opacity': number;
|
|
576
|
-
'circle-stroke-color'?: string | undefined;
|
|
576
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
577
577
|
'circle-stroke-width'?: number | undefined;
|
|
578
578
|
'circle-blur'?: number | undefined;
|
|
579
579
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -589,10 +589,10 @@ export declare const CircleStyleSchema: z.ZodObject<{
|
|
|
589
589
|
}, {
|
|
590
590
|
type: "circle";
|
|
591
591
|
paint: {
|
|
592
|
-
'circle-color'?: string | undefined;
|
|
592
|
+
'circle-color'?: string | unknown[] | undefined;
|
|
593
593
|
'circle-radius'?: number | undefined;
|
|
594
594
|
'circle-opacity'?: number | undefined;
|
|
595
|
-
'circle-stroke-color'?: string | undefined;
|
|
595
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
596
596
|
'circle-stroke-width'?: number | undefined;
|
|
597
597
|
'circle-blur'?: number | undefined;
|
|
598
598
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -610,45 +610,45 @@ export declare const SymbolStyleSchema: z.ZodObject<{
|
|
|
610
610
|
type: z.ZodLiteral<"symbol">;
|
|
611
611
|
paint: z.ZodObject<{
|
|
612
612
|
'icon-opacity': z.ZodOptional<z.ZodNumber>;
|
|
613
|
-
'icon-color': z.ZodOptional<z.ZodString
|
|
614
|
-
'icon-halo-color': z.ZodOptional<z.ZodString
|
|
613
|
+
'icon-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
614
|
+
'icon-halo-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
615
615
|
'icon-halo-width': z.ZodOptional<z.ZodNumber>;
|
|
616
616
|
'icon-halo-blur': z.ZodOptional<z.ZodNumber>;
|
|
617
617
|
'icon-translate': z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
618
618
|
'icon-translate-anchor': z.ZodOptional<z.ZodEnum<["map", "viewport"]>>;
|
|
619
619
|
'text-opacity': z.ZodOptional<z.ZodNumber>;
|
|
620
|
-
'text-color': z.ZodOptional<z.ZodString
|
|
621
|
-
'text-halo-color': z.ZodOptional<z.ZodString
|
|
620
|
+
'text-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
621
|
+
'text-halo-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
622
622
|
'text-halo-width': z.ZodOptional<z.ZodNumber>;
|
|
623
623
|
'text-halo-blur': z.ZodOptional<z.ZodNumber>;
|
|
624
624
|
'text-translate': z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
625
625
|
'text-translate-anchor': z.ZodOptional<z.ZodEnum<["map", "viewport"]>>;
|
|
626
626
|
}, "strip", z.ZodTypeAny, {
|
|
627
627
|
'icon-opacity'?: number | undefined;
|
|
628
|
-
'icon-color'?: string | undefined;
|
|
629
|
-
'icon-halo-color'?: string | undefined;
|
|
628
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
629
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
630
630
|
'icon-halo-width'?: number | undefined;
|
|
631
631
|
'icon-halo-blur'?: number | undefined;
|
|
632
632
|
'icon-translate'?: [number, number] | undefined;
|
|
633
633
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
634
634
|
'text-opacity'?: number | undefined;
|
|
635
|
-
'text-color'?: string | undefined;
|
|
636
|
-
'text-halo-color'?: string | undefined;
|
|
635
|
+
'text-color'?: string | unknown[] | undefined;
|
|
636
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
637
637
|
'text-halo-width'?: number | undefined;
|
|
638
638
|
'text-halo-blur'?: number | undefined;
|
|
639
639
|
'text-translate'?: [number, number] | undefined;
|
|
640
640
|
'text-translate-anchor'?: "map" | "viewport" | undefined;
|
|
641
641
|
}, {
|
|
642
642
|
'icon-opacity'?: number | undefined;
|
|
643
|
-
'icon-color'?: string | undefined;
|
|
644
|
-
'icon-halo-color'?: string | undefined;
|
|
643
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
644
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
645
645
|
'icon-halo-width'?: number | undefined;
|
|
646
646
|
'icon-halo-blur'?: number | undefined;
|
|
647
647
|
'icon-translate'?: [number, number] | undefined;
|
|
648
648
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
649
649
|
'text-opacity'?: number | undefined;
|
|
650
|
-
'text-color'?: string | undefined;
|
|
651
|
-
'text-halo-color'?: string | undefined;
|
|
650
|
+
'text-color'?: string | unknown[] | undefined;
|
|
651
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
652
652
|
'text-halo-width'?: number | undefined;
|
|
653
653
|
'text-halo-blur'?: number | undefined;
|
|
654
654
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -779,15 +779,15 @@ export declare const SymbolStyleSchema: z.ZodObject<{
|
|
|
779
779
|
type: "symbol";
|
|
780
780
|
paint: {
|
|
781
781
|
'icon-opacity'?: number | undefined;
|
|
782
|
-
'icon-color'?: string | undefined;
|
|
783
|
-
'icon-halo-color'?: string | undefined;
|
|
782
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
783
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
784
784
|
'icon-halo-width'?: number | undefined;
|
|
785
785
|
'icon-halo-blur'?: number | undefined;
|
|
786
786
|
'icon-translate'?: [number, number] | undefined;
|
|
787
787
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
788
788
|
'text-opacity'?: number | undefined;
|
|
789
|
-
'text-color'?: string | undefined;
|
|
790
|
-
'text-halo-color'?: string | undefined;
|
|
789
|
+
'text-color'?: string | unknown[] | undefined;
|
|
790
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
791
791
|
'text-halo-width'?: number | undefined;
|
|
792
792
|
'text-halo-blur'?: number | undefined;
|
|
793
793
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -838,15 +838,15 @@ export declare const SymbolStyleSchema: z.ZodObject<{
|
|
|
838
838
|
type: "symbol";
|
|
839
839
|
paint: {
|
|
840
840
|
'icon-opacity'?: number | undefined;
|
|
841
|
-
'icon-color'?: string | undefined;
|
|
842
|
-
'icon-halo-color'?: string | undefined;
|
|
841
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
842
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
843
843
|
'icon-halo-width'?: number | undefined;
|
|
844
844
|
'icon-halo-blur'?: number | undefined;
|
|
845
845
|
'icon-translate'?: [number, number] | undefined;
|
|
846
846
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
847
847
|
'text-opacity'?: number | undefined;
|
|
848
|
-
'text-color'?: string | undefined;
|
|
849
|
-
'text-halo-color'?: string | undefined;
|
|
848
|
+
'text-color'?: string | unknown[] | undefined;
|
|
849
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
850
850
|
'text-halo-width'?: number | undefined;
|
|
851
851
|
'text-halo-blur'?: number | undefined;
|
|
852
852
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -897,25 +897,25 @@ export declare const SymbolStyleSchema: z.ZodObject<{
|
|
|
897
897
|
export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
898
898
|
type: z.ZodLiteral<"fill">;
|
|
899
899
|
paint: z.ZodObject<{
|
|
900
|
-
'fill-color': z.ZodDefault<z.ZodString
|
|
900
|
+
'fill-color': z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
901
901
|
'fill-opacity': z.ZodDefault<z.ZodNumber>;
|
|
902
|
-
'fill-outline-color': z.ZodOptional<z.ZodString
|
|
902
|
+
'fill-outline-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
903
903
|
'fill-antialias': z.ZodOptional<z.ZodBoolean>;
|
|
904
904
|
'fill-translate': z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
905
905
|
'fill-translate-anchor': z.ZodOptional<z.ZodEnum<["map", "viewport"]>>;
|
|
906
906
|
'fill-pattern': z.ZodOptional<z.ZodString>;
|
|
907
907
|
}, "strip", z.ZodTypeAny, {
|
|
908
|
-
'fill-color': string;
|
|
908
|
+
'fill-color': string | unknown[];
|
|
909
909
|
'fill-opacity': number;
|
|
910
|
-
'fill-outline-color'?: string | undefined;
|
|
910
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
911
911
|
'fill-antialias'?: boolean | undefined;
|
|
912
912
|
'fill-translate'?: [number, number] | undefined;
|
|
913
913
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
914
914
|
'fill-pattern'?: string | undefined;
|
|
915
915
|
}, {
|
|
916
|
-
'fill-color'?: string | undefined;
|
|
916
|
+
'fill-color'?: string | unknown[] | undefined;
|
|
917
917
|
'fill-opacity'?: number | undefined;
|
|
918
|
-
'fill-outline-color'?: string | undefined;
|
|
918
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
919
919
|
'fill-antialias'?: boolean | undefined;
|
|
920
920
|
'fill-translate'?: [number, number] | undefined;
|
|
921
921
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -934,9 +934,9 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
934
934
|
}, "strip", z.ZodTypeAny, {
|
|
935
935
|
type: "fill";
|
|
936
936
|
paint: {
|
|
937
|
-
'fill-color': string;
|
|
937
|
+
'fill-color': string | unknown[];
|
|
938
938
|
'fill-opacity': number;
|
|
939
|
-
'fill-outline-color'?: string | undefined;
|
|
939
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
940
940
|
'fill-antialias'?: boolean | undefined;
|
|
941
941
|
'fill-translate'?: [number, number] | undefined;
|
|
942
942
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -949,9 +949,9 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
949
949
|
}, {
|
|
950
950
|
type: "fill";
|
|
951
951
|
paint: {
|
|
952
|
-
'fill-color'?: string | undefined;
|
|
952
|
+
'fill-color'?: string | unknown[] | undefined;
|
|
953
953
|
'fill-opacity'?: number | undefined;
|
|
954
|
-
'fill-outline-color'?: string | undefined;
|
|
954
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
955
955
|
'fill-antialias'?: boolean | undefined;
|
|
956
956
|
'fill-translate'?: [number, number] | undefined;
|
|
957
957
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -964,7 +964,7 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
964
964
|
}>, z.ZodObject<{
|
|
965
965
|
type: z.ZodLiteral<"line">;
|
|
966
966
|
paint: z.ZodObject<{
|
|
967
|
-
'line-color': z.ZodDefault<z.ZodString
|
|
967
|
+
'line-color': z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
968
968
|
'line-width': z.ZodDefault<z.ZodNumber>;
|
|
969
969
|
'line-opacity': z.ZodDefault<z.ZodNumber>;
|
|
970
970
|
'line-dasharray': z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
@@ -976,7 +976,7 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
976
976
|
'line-pattern': z.ZodOptional<z.ZodString>;
|
|
977
977
|
'line-gradient': z.ZodOptional<z.ZodString>;
|
|
978
978
|
}, "strip", z.ZodTypeAny, {
|
|
979
|
-
'line-color': string;
|
|
979
|
+
'line-color': string | unknown[];
|
|
980
980
|
'line-width': number;
|
|
981
981
|
'line-opacity': number;
|
|
982
982
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -988,7 +988,7 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
988
988
|
'line-pattern'?: string | undefined;
|
|
989
989
|
'line-gradient'?: string | undefined;
|
|
990
990
|
}, {
|
|
991
|
-
'line-color'?: string | undefined;
|
|
991
|
+
'line-color'?: string | unknown[] | undefined;
|
|
992
992
|
'line-width'?: number | undefined;
|
|
993
993
|
'line-opacity'?: number | undefined;
|
|
994
994
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -1025,7 +1025,7 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1025
1025
|
}, "strip", z.ZodTypeAny, {
|
|
1026
1026
|
type: "line";
|
|
1027
1027
|
paint: {
|
|
1028
|
-
'line-color': string;
|
|
1028
|
+
'line-color': string | unknown[];
|
|
1029
1029
|
'line-width': number;
|
|
1030
1030
|
'line-opacity': number;
|
|
1031
1031
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -1048,7 +1048,7 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1048
1048
|
}, {
|
|
1049
1049
|
type: "line";
|
|
1050
1050
|
paint: {
|
|
1051
|
-
'line-color'?: string | undefined;
|
|
1051
|
+
'line-color'?: string | unknown[] | undefined;
|
|
1052
1052
|
'line-width'?: number | undefined;
|
|
1053
1053
|
'line-opacity'?: number | undefined;
|
|
1054
1054
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -1071,10 +1071,10 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1071
1071
|
}>, z.ZodObject<{
|
|
1072
1072
|
type: z.ZodLiteral<"circle">;
|
|
1073
1073
|
paint: z.ZodObject<{
|
|
1074
|
-
'circle-color': z.ZodDefault<z.ZodString
|
|
1074
|
+
'circle-color': z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
1075
1075
|
'circle-radius': z.ZodDefault<z.ZodNumber>;
|
|
1076
1076
|
'circle-opacity': z.ZodDefault<z.ZodNumber>;
|
|
1077
|
-
'circle-stroke-color': z.ZodOptional<z.ZodString
|
|
1077
|
+
'circle-stroke-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
1078
1078
|
'circle-stroke-width': z.ZodOptional<z.ZodNumber>;
|
|
1079
1079
|
'circle-blur': z.ZodOptional<z.ZodNumber>;
|
|
1080
1080
|
'circle-translate': z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
@@ -1083,10 +1083,10 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1083
1083
|
'circle-pitch-alignment': z.ZodOptional<z.ZodEnum<["map", "viewport"]>>;
|
|
1084
1084
|
'circle-stroke-opacity': z.ZodOptional<z.ZodNumber>;
|
|
1085
1085
|
}, "strip", z.ZodTypeAny, {
|
|
1086
|
-
'circle-color': string;
|
|
1086
|
+
'circle-color': string | unknown[];
|
|
1087
1087
|
'circle-radius': number;
|
|
1088
1088
|
'circle-opacity': number;
|
|
1089
|
-
'circle-stroke-color'?: string | undefined;
|
|
1089
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
1090
1090
|
'circle-stroke-width'?: number | undefined;
|
|
1091
1091
|
'circle-blur'?: number | undefined;
|
|
1092
1092
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -1095,10 +1095,10 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1095
1095
|
'circle-pitch-alignment'?: "map" | "viewport" | undefined;
|
|
1096
1096
|
'circle-stroke-opacity'?: number | undefined;
|
|
1097
1097
|
}, {
|
|
1098
|
-
'circle-color'?: string | undefined;
|
|
1098
|
+
'circle-color'?: string | unknown[] | undefined;
|
|
1099
1099
|
'circle-radius'?: number | undefined;
|
|
1100
1100
|
'circle-opacity'?: number | undefined;
|
|
1101
|
-
'circle-stroke-color'?: string | undefined;
|
|
1101
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
1102
1102
|
'circle-stroke-width'?: number | undefined;
|
|
1103
1103
|
'circle-blur'?: number | undefined;
|
|
1104
1104
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -1120,10 +1120,10 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1120
1120
|
}, "strip", z.ZodTypeAny, {
|
|
1121
1121
|
type: "circle";
|
|
1122
1122
|
paint: {
|
|
1123
|
-
'circle-color': string;
|
|
1123
|
+
'circle-color': string | unknown[];
|
|
1124
1124
|
'circle-radius': number;
|
|
1125
1125
|
'circle-opacity': number;
|
|
1126
|
-
'circle-stroke-color'?: string | undefined;
|
|
1126
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
1127
1127
|
'circle-stroke-width'?: number | undefined;
|
|
1128
1128
|
'circle-blur'?: number | undefined;
|
|
1129
1129
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -1139,10 +1139,10 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1139
1139
|
}, {
|
|
1140
1140
|
type: "circle";
|
|
1141
1141
|
paint: {
|
|
1142
|
-
'circle-color'?: string | undefined;
|
|
1142
|
+
'circle-color'?: string | unknown[] | undefined;
|
|
1143
1143
|
'circle-radius'?: number | undefined;
|
|
1144
1144
|
'circle-opacity'?: number | undefined;
|
|
1145
|
-
'circle-stroke-color'?: string | undefined;
|
|
1145
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
1146
1146
|
'circle-stroke-width'?: number | undefined;
|
|
1147
1147
|
'circle-blur'?: number | undefined;
|
|
1148
1148
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -1159,45 +1159,45 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1159
1159
|
type: z.ZodLiteral<"symbol">;
|
|
1160
1160
|
paint: z.ZodObject<{
|
|
1161
1161
|
'icon-opacity': z.ZodOptional<z.ZodNumber>;
|
|
1162
|
-
'icon-color': z.ZodOptional<z.ZodString
|
|
1163
|
-
'icon-halo-color': z.ZodOptional<z.ZodString
|
|
1162
|
+
'icon-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
1163
|
+
'icon-halo-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
1164
1164
|
'icon-halo-width': z.ZodOptional<z.ZodNumber>;
|
|
1165
1165
|
'icon-halo-blur': z.ZodOptional<z.ZodNumber>;
|
|
1166
1166
|
'icon-translate': z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
1167
1167
|
'icon-translate-anchor': z.ZodOptional<z.ZodEnum<["map", "viewport"]>>;
|
|
1168
1168
|
'text-opacity': z.ZodOptional<z.ZodNumber>;
|
|
1169
|
-
'text-color': z.ZodOptional<z.ZodString
|
|
1170
|
-
'text-halo-color': z.ZodOptional<z.ZodString
|
|
1169
|
+
'text-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
1170
|
+
'text-halo-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
1171
1171
|
'text-halo-width': z.ZodOptional<z.ZodNumber>;
|
|
1172
1172
|
'text-halo-blur': z.ZodOptional<z.ZodNumber>;
|
|
1173
1173
|
'text-translate': z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
1174
1174
|
'text-translate-anchor': z.ZodOptional<z.ZodEnum<["map", "viewport"]>>;
|
|
1175
1175
|
}, "strip", z.ZodTypeAny, {
|
|
1176
1176
|
'icon-opacity'?: number | undefined;
|
|
1177
|
-
'icon-color'?: string | undefined;
|
|
1178
|
-
'icon-halo-color'?: string | undefined;
|
|
1177
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
1178
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
1179
1179
|
'icon-halo-width'?: number | undefined;
|
|
1180
1180
|
'icon-halo-blur'?: number | undefined;
|
|
1181
1181
|
'icon-translate'?: [number, number] | undefined;
|
|
1182
1182
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
1183
1183
|
'text-opacity'?: number | undefined;
|
|
1184
|
-
'text-color'?: string | undefined;
|
|
1185
|
-
'text-halo-color'?: string | undefined;
|
|
1184
|
+
'text-color'?: string | unknown[] | undefined;
|
|
1185
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
1186
1186
|
'text-halo-width'?: number | undefined;
|
|
1187
1187
|
'text-halo-blur'?: number | undefined;
|
|
1188
1188
|
'text-translate'?: [number, number] | undefined;
|
|
1189
1189
|
'text-translate-anchor'?: "map" | "viewport" | undefined;
|
|
1190
1190
|
}, {
|
|
1191
1191
|
'icon-opacity'?: number | undefined;
|
|
1192
|
-
'icon-color'?: string | undefined;
|
|
1193
|
-
'icon-halo-color'?: string | undefined;
|
|
1192
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
1193
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
1194
1194
|
'icon-halo-width'?: number | undefined;
|
|
1195
1195
|
'icon-halo-blur'?: number | undefined;
|
|
1196
1196
|
'icon-translate'?: [number, number] | undefined;
|
|
1197
1197
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
1198
1198
|
'text-opacity'?: number | undefined;
|
|
1199
|
-
'text-color'?: string | undefined;
|
|
1200
|
-
'text-halo-color'?: string | undefined;
|
|
1199
|
+
'text-color'?: string | unknown[] | undefined;
|
|
1200
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
1201
1201
|
'text-halo-width'?: number | undefined;
|
|
1202
1202
|
'text-halo-blur'?: number | undefined;
|
|
1203
1203
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -1328,15 +1328,15 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1328
1328
|
type: "symbol";
|
|
1329
1329
|
paint: {
|
|
1330
1330
|
'icon-opacity'?: number | undefined;
|
|
1331
|
-
'icon-color'?: string | undefined;
|
|
1332
|
-
'icon-halo-color'?: string | undefined;
|
|
1331
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
1332
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
1333
1333
|
'icon-halo-width'?: number | undefined;
|
|
1334
1334
|
'icon-halo-blur'?: number | undefined;
|
|
1335
1335
|
'icon-translate'?: [number, number] | undefined;
|
|
1336
1336
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
1337
1337
|
'text-opacity'?: number | undefined;
|
|
1338
|
-
'text-color'?: string | undefined;
|
|
1339
|
-
'text-halo-color'?: string | undefined;
|
|
1338
|
+
'text-color'?: string | unknown[] | undefined;
|
|
1339
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
1340
1340
|
'text-halo-width'?: number | undefined;
|
|
1341
1341
|
'text-halo-blur'?: number | undefined;
|
|
1342
1342
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -1387,15 +1387,15 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1387
1387
|
type: "symbol";
|
|
1388
1388
|
paint: {
|
|
1389
1389
|
'icon-opacity'?: number | undefined;
|
|
1390
|
-
'icon-color'?: string | undefined;
|
|
1391
|
-
'icon-halo-color'?: string | undefined;
|
|
1390
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
1391
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
1392
1392
|
'icon-halo-width'?: number | undefined;
|
|
1393
1393
|
'icon-halo-blur'?: number | undefined;
|
|
1394
1394
|
'icon-translate'?: [number, number] | undefined;
|
|
1395
1395
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
1396
1396
|
'text-opacity'?: number | undefined;
|
|
1397
|
-
'text-color'?: string | undefined;
|
|
1398
|
-
'text-halo-color'?: string | undefined;
|
|
1397
|
+
'text-color'?: string | unknown[] | undefined;
|
|
1398
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
1399
1399
|
'text-halo-width'?: number | undefined;
|
|
1400
1400
|
'text-halo-blur'?: number | undefined;
|
|
1401
1401
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -1470,18 +1470,27 @@ export declare const LegendConfigSchema: z.ZodObject<{
|
|
|
1470
1470
|
color: string;
|
|
1471
1471
|
shape?: "square" | "line" | "circle" | undefined;
|
|
1472
1472
|
}>, "many">;
|
|
1473
|
+
displayMode: z.ZodOptional<z.ZodEnum<["categorical", "gradient", "simple"]>>;
|
|
1474
|
+
showLabelsCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
1475
|
+
gradientProperty: z.ZodOptional<z.ZodString>;
|
|
1473
1476
|
}, "strip", z.ZodTypeAny, {
|
|
1474
1477
|
entries: {
|
|
1475
1478
|
label: string;
|
|
1476
1479
|
color: string;
|
|
1477
1480
|
shape?: "square" | "line" | "circle" | undefined;
|
|
1478
1481
|
}[];
|
|
1482
|
+
displayMode?: "categorical" | "gradient" | "simple" | undefined;
|
|
1483
|
+
showLabelsCollapsed?: boolean | undefined;
|
|
1484
|
+
gradientProperty?: string | undefined;
|
|
1479
1485
|
}, {
|
|
1480
1486
|
entries: {
|
|
1481
1487
|
label: string;
|
|
1482
1488
|
color: string;
|
|
1483
1489
|
shape?: "square" | "line" | "circle" | undefined;
|
|
1484
1490
|
}[];
|
|
1491
|
+
displayMode?: "categorical" | "gradient" | "simple" | undefined;
|
|
1492
|
+
showLabelsCollapsed?: boolean | undefined;
|
|
1493
|
+
gradientProperty?: string | undefined;
|
|
1485
1494
|
}>;
|
|
1486
1495
|
export declare const TextSearchFieldSchema: z.ZodObject<{
|
|
1487
1496
|
type: z.ZodLiteral<"text">;
|
|
@@ -1879,25 +1888,25 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
1879
1888
|
style: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1880
1889
|
type: z.ZodLiteral<"fill">;
|
|
1881
1890
|
paint: z.ZodObject<{
|
|
1882
|
-
'fill-color': z.ZodDefault<z.ZodString
|
|
1891
|
+
'fill-color': z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
1883
1892
|
'fill-opacity': z.ZodDefault<z.ZodNumber>;
|
|
1884
|
-
'fill-outline-color': z.ZodOptional<z.ZodString
|
|
1893
|
+
'fill-outline-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
1885
1894
|
'fill-antialias': z.ZodOptional<z.ZodBoolean>;
|
|
1886
1895
|
'fill-translate': z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
1887
1896
|
'fill-translate-anchor': z.ZodOptional<z.ZodEnum<["map", "viewport"]>>;
|
|
1888
1897
|
'fill-pattern': z.ZodOptional<z.ZodString>;
|
|
1889
1898
|
}, "strip", z.ZodTypeAny, {
|
|
1890
|
-
'fill-color': string;
|
|
1899
|
+
'fill-color': string | unknown[];
|
|
1891
1900
|
'fill-opacity': number;
|
|
1892
|
-
'fill-outline-color'?: string | undefined;
|
|
1901
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
1893
1902
|
'fill-antialias'?: boolean | undefined;
|
|
1894
1903
|
'fill-translate'?: [number, number] | undefined;
|
|
1895
1904
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
1896
1905
|
'fill-pattern'?: string | undefined;
|
|
1897
1906
|
}, {
|
|
1898
|
-
'fill-color'?: string | undefined;
|
|
1907
|
+
'fill-color'?: string | unknown[] | undefined;
|
|
1899
1908
|
'fill-opacity'?: number | undefined;
|
|
1900
|
-
'fill-outline-color'?: string | undefined;
|
|
1909
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
1901
1910
|
'fill-antialias'?: boolean | undefined;
|
|
1902
1911
|
'fill-translate'?: [number, number] | undefined;
|
|
1903
1912
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -1916,9 +1925,9 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
1916
1925
|
}, "strip", z.ZodTypeAny, {
|
|
1917
1926
|
type: "fill";
|
|
1918
1927
|
paint: {
|
|
1919
|
-
'fill-color': string;
|
|
1928
|
+
'fill-color': string | unknown[];
|
|
1920
1929
|
'fill-opacity': number;
|
|
1921
|
-
'fill-outline-color'?: string | undefined;
|
|
1930
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
1922
1931
|
'fill-antialias'?: boolean | undefined;
|
|
1923
1932
|
'fill-translate'?: [number, number] | undefined;
|
|
1924
1933
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -1931,9 +1940,9 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
1931
1940
|
}, {
|
|
1932
1941
|
type: "fill";
|
|
1933
1942
|
paint: {
|
|
1934
|
-
'fill-color'?: string | undefined;
|
|
1943
|
+
'fill-color'?: string | unknown[] | undefined;
|
|
1935
1944
|
'fill-opacity'?: number | undefined;
|
|
1936
|
-
'fill-outline-color'?: string | undefined;
|
|
1945
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
1937
1946
|
'fill-antialias'?: boolean | undefined;
|
|
1938
1947
|
'fill-translate'?: [number, number] | undefined;
|
|
1939
1948
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -1946,7 +1955,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
1946
1955
|
}>, z.ZodObject<{
|
|
1947
1956
|
type: z.ZodLiteral<"line">;
|
|
1948
1957
|
paint: z.ZodObject<{
|
|
1949
|
-
'line-color': z.ZodDefault<z.ZodString
|
|
1958
|
+
'line-color': z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
1950
1959
|
'line-width': z.ZodDefault<z.ZodNumber>;
|
|
1951
1960
|
'line-opacity': z.ZodDefault<z.ZodNumber>;
|
|
1952
1961
|
'line-dasharray': z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
@@ -1958,7 +1967,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
1958
1967
|
'line-pattern': z.ZodOptional<z.ZodString>;
|
|
1959
1968
|
'line-gradient': z.ZodOptional<z.ZodString>;
|
|
1960
1969
|
}, "strip", z.ZodTypeAny, {
|
|
1961
|
-
'line-color': string;
|
|
1970
|
+
'line-color': string | unknown[];
|
|
1962
1971
|
'line-width': number;
|
|
1963
1972
|
'line-opacity': number;
|
|
1964
1973
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -1970,7 +1979,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
1970
1979
|
'line-pattern'?: string | undefined;
|
|
1971
1980
|
'line-gradient'?: string | undefined;
|
|
1972
1981
|
}, {
|
|
1973
|
-
'line-color'?: string | undefined;
|
|
1982
|
+
'line-color'?: string | unknown[] | undefined;
|
|
1974
1983
|
'line-width'?: number | undefined;
|
|
1975
1984
|
'line-opacity'?: number | undefined;
|
|
1976
1985
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -2007,7 +2016,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
2007
2016
|
}, "strip", z.ZodTypeAny, {
|
|
2008
2017
|
type: "line";
|
|
2009
2018
|
paint: {
|
|
2010
|
-
'line-color': string;
|
|
2019
|
+
'line-color': string | unknown[];
|
|
2011
2020
|
'line-width': number;
|
|
2012
2021
|
'line-opacity': number;
|
|
2013
2022
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -2030,7 +2039,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
2030
2039
|
}, {
|
|
2031
2040
|
type: "line";
|
|
2032
2041
|
paint: {
|
|
2033
|
-
'line-color'?: string | undefined;
|
|
2042
|
+
'line-color'?: string | unknown[] | undefined;
|
|
2034
2043
|
'line-width'?: number | undefined;
|
|
2035
2044
|
'line-opacity'?: number | undefined;
|
|
2036
2045
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -2053,10 +2062,10 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
2053
2062
|
}>, z.ZodObject<{
|
|
2054
2063
|
type: z.ZodLiteral<"circle">;
|
|
2055
2064
|
paint: z.ZodObject<{
|
|
2056
|
-
'circle-color': z.ZodDefault<z.ZodString
|
|
2065
|
+
'circle-color': z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
2057
2066
|
'circle-radius': z.ZodDefault<z.ZodNumber>;
|
|
2058
2067
|
'circle-opacity': z.ZodDefault<z.ZodNumber>;
|
|
2059
|
-
'circle-stroke-color': z.ZodOptional<z.ZodString
|
|
2068
|
+
'circle-stroke-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
2060
2069
|
'circle-stroke-width': z.ZodOptional<z.ZodNumber>;
|
|
2061
2070
|
'circle-blur': z.ZodOptional<z.ZodNumber>;
|
|
2062
2071
|
'circle-translate': z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
@@ -2065,10 +2074,10 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
2065
2074
|
'circle-pitch-alignment': z.ZodOptional<z.ZodEnum<["map", "viewport"]>>;
|
|
2066
2075
|
'circle-stroke-opacity': z.ZodOptional<z.ZodNumber>;
|
|
2067
2076
|
}, "strip", z.ZodTypeAny, {
|
|
2068
|
-
'circle-color': string;
|
|
2077
|
+
'circle-color': string | unknown[];
|
|
2069
2078
|
'circle-radius': number;
|
|
2070
2079
|
'circle-opacity': number;
|
|
2071
|
-
'circle-stroke-color'?: string | undefined;
|
|
2080
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
2072
2081
|
'circle-stroke-width'?: number | undefined;
|
|
2073
2082
|
'circle-blur'?: number | undefined;
|
|
2074
2083
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -2077,10 +2086,10 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
2077
2086
|
'circle-pitch-alignment'?: "map" | "viewport" | undefined;
|
|
2078
2087
|
'circle-stroke-opacity'?: number | undefined;
|
|
2079
2088
|
}, {
|
|
2080
|
-
'circle-color'?: string | undefined;
|
|
2089
|
+
'circle-color'?: string | unknown[] | undefined;
|
|
2081
2090
|
'circle-radius'?: number | undefined;
|
|
2082
2091
|
'circle-opacity'?: number | undefined;
|
|
2083
|
-
'circle-stroke-color'?: string | undefined;
|
|
2092
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
2084
2093
|
'circle-stroke-width'?: number | undefined;
|
|
2085
2094
|
'circle-blur'?: number | undefined;
|
|
2086
2095
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -2102,10 +2111,10 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
2102
2111
|
}, "strip", z.ZodTypeAny, {
|
|
2103
2112
|
type: "circle";
|
|
2104
2113
|
paint: {
|
|
2105
|
-
'circle-color': string;
|
|
2114
|
+
'circle-color': string | unknown[];
|
|
2106
2115
|
'circle-radius': number;
|
|
2107
2116
|
'circle-opacity': number;
|
|
2108
|
-
'circle-stroke-color'?: string | undefined;
|
|
2117
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
2109
2118
|
'circle-stroke-width'?: number | undefined;
|
|
2110
2119
|
'circle-blur'?: number | undefined;
|
|
2111
2120
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -2121,10 +2130,10 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
2121
2130
|
}, {
|
|
2122
2131
|
type: "circle";
|
|
2123
2132
|
paint: {
|
|
2124
|
-
'circle-color'?: string | undefined;
|
|
2133
|
+
'circle-color'?: string | unknown[] | undefined;
|
|
2125
2134
|
'circle-radius'?: number | undefined;
|
|
2126
2135
|
'circle-opacity'?: number | undefined;
|
|
2127
|
-
'circle-stroke-color'?: string | undefined;
|
|
2136
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
2128
2137
|
'circle-stroke-width'?: number | undefined;
|
|
2129
2138
|
'circle-blur'?: number | undefined;
|
|
2130
2139
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -2141,45 +2150,45 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
2141
2150
|
type: z.ZodLiteral<"symbol">;
|
|
2142
2151
|
paint: z.ZodObject<{
|
|
2143
2152
|
'icon-opacity': z.ZodOptional<z.ZodNumber>;
|
|
2144
|
-
'icon-color': z.ZodOptional<z.ZodString
|
|
2145
|
-
'icon-halo-color': z.ZodOptional<z.ZodString
|
|
2153
|
+
'icon-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
2154
|
+
'icon-halo-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
2146
2155
|
'icon-halo-width': z.ZodOptional<z.ZodNumber>;
|
|
2147
2156
|
'icon-halo-blur': z.ZodOptional<z.ZodNumber>;
|
|
2148
2157
|
'icon-translate': z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
2149
2158
|
'icon-translate-anchor': z.ZodOptional<z.ZodEnum<["map", "viewport"]>>;
|
|
2150
2159
|
'text-opacity': z.ZodOptional<z.ZodNumber>;
|
|
2151
|
-
'text-color': z.ZodOptional<z.ZodString
|
|
2152
|
-
'text-halo-color': z.ZodOptional<z.ZodString
|
|
2160
|
+
'text-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
2161
|
+
'text-halo-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
2153
2162
|
'text-halo-width': z.ZodOptional<z.ZodNumber>;
|
|
2154
2163
|
'text-halo-blur': z.ZodOptional<z.ZodNumber>;
|
|
2155
2164
|
'text-translate': z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
2156
2165
|
'text-translate-anchor': z.ZodOptional<z.ZodEnum<["map", "viewport"]>>;
|
|
2157
2166
|
}, "strip", z.ZodTypeAny, {
|
|
2158
2167
|
'icon-opacity'?: number | undefined;
|
|
2159
|
-
'icon-color'?: string | undefined;
|
|
2160
|
-
'icon-halo-color'?: string | undefined;
|
|
2168
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
2169
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
2161
2170
|
'icon-halo-width'?: number | undefined;
|
|
2162
2171
|
'icon-halo-blur'?: number | undefined;
|
|
2163
2172
|
'icon-translate'?: [number, number] | undefined;
|
|
2164
2173
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
2165
2174
|
'text-opacity'?: number | undefined;
|
|
2166
|
-
'text-color'?: string | undefined;
|
|
2167
|
-
'text-halo-color'?: string | undefined;
|
|
2175
|
+
'text-color'?: string | unknown[] | undefined;
|
|
2176
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
2168
2177
|
'text-halo-width'?: number | undefined;
|
|
2169
2178
|
'text-halo-blur'?: number | undefined;
|
|
2170
2179
|
'text-translate'?: [number, number] | undefined;
|
|
2171
2180
|
'text-translate-anchor'?: "map" | "viewport" | undefined;
|
|
2172
2181
|
}, {
|
|
2173
2182
|
'icon-opacity'?: number | undefined;
|
|
2174
|
-
'icon-color'?: string | undefined;
|
|
2175
|
-
'icon-halo-color'?: string | undefined;
|
|
2183
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
2184
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
2176
2185
|
'icon-halo-width'?: number | undefined;
|
|
2177
2186
|
'icon-halo-blur'?: number | undefined;
|
|
2178
2187
|
'icon-translate'?: [number, number] | undefined;
|
|
2179
2188
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
2180
2189
|
'text-opacity'?: number | undefined;
|
|
2181
|
-
'text-color'?: string | undefined;
|
|
2182
|
-
'text-halo-color'?: string | undefined;
|
|
2190
|
+
'text-color'?: string | unknown[] | undefined;
|
|
2191
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
2183
2192
|
'text-halo-width'?: number | undefined;
|
|
2184
2193
|
'text-halo-blur'?: number | undefined;
|
|
2185
2194
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -2310,15 +2319,15 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
2310
2319
|
type: "symbol";
|
|
2311
2320
|
paint: {
|
|
2312
2321
|
'icon-opacity'?: number | undefined;
|
|
2313
|
-
'icon-color'?: string | undefined;
|
|
2314
|
-
'icon-halo-color'?: string | undefined;
|
|
2322
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
2323
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
2315
2324
|
'icon-halo-width'?: number | undefined;
|
|
2316
2325
|
'icon-halo-blur'?: number | undefined;
|
|
2317
2326
|
'icon-translate'?: [number, number] | undefined;
|
|
2318
2327
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
2319
2328
|
'text-opacity'?: number | undefined;
|
|
2320
|
-
'text-color'?: string | undefined;
|
|
2321
|
-
'text-halo-color'?: string | undefined;
|
|
2329
|
+
'text-color'?: string | unknown[] | undefined;
|
|
2330
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
2322
2331
|
'text-halo-width'?: number | undefined;
|
|
2323
2332
|
'text-halo-blur'?: number | undefined;
|
|
2324
2333
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -2369,15 +2378,15 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
2369
2378
|
type: "symbol";
|
|
2370
2379
|
paint: {
|
|
2371
2380
|
'icon-opacity'?: number | undefined;
|
|
2372
|
-
'icon-color'?: string | undefined;
|
|
2373
|
-
'icon-halo-color'?: string | undefined;
|
|
2381
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
2382
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
2374
2383
|
'icon-halo-width'?: number | undefined;
|
|
2375
2384
|
'icon-halo-blur'?: number | undefined;
|
|
2376
2385
|
'icon-translate'?: [number, number] | undefined;
|
|
2377
2386
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
2378
2387
|
'text-opacity'?: number | undefined;
|
|
2379
|
-
'text-color'?: string | undefined;
|
|
2380
|
-
'text-halo-color'?: string | undefined;
|
|
2388
|
+
'text-color'?: string | unknown[] | undefined;
|
|
2389
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
2381
2390
|
'text-halo-width'?: number | undefined;
|
|
2382
2391
|
'text-halo-blur'?: number | undefined;
|
|
2383
2392
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -2439,18 +2448,27 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
2439
2448
|
color: string;
|
|
2440
2449
|
shape?: "square" | "line" | "circle" | undefined;
|
|
2441
2450
|
}>, "many">;
|
|
2451
|
+
displayMode: z.ZodOptional<z.ZodEnum<["categorical", "gradient", "simple"]>>;
|
|
2452
|
+
showLabelsCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
2453
|
+
gradientProperty: z.ZodOptional<z.ZodString>;
|
|
2442
2454
|
}, "strip", z.ZodTypeAny, {
|
|
2443
2455
|
entries: {
|
|
2444
2456
|
label: string;
|
|
2445
2457
|
color: string;
|
|
2446
2458
|
shape?: "square" | "line" | "circle" | undefined;
|
|
2447
2459
|
}[];
|
|
2460
|
+
displayMode?: "categorical" | "gradient" | "simple" | undefined;
|
|
2461
|
+
showLabelsCollapsed?: boolean | undefined;
|
|
2462
|
+
gradientProperty?: string | undefined;
|
|
2448
2463
|
}, {
|
|
2449
2464
|
entries: {
|
|
2450
2465
|
label: string;
|
|
2451
2466
|
color: string;
|
|
2452
2467
|
shape?: "square" | "line" | "circle" | undefined;
|
|
2453
2468
|
}[];
|
|
2469
|
+
displayMode?: "categorical" | "gradient" | "simple" | undefined;
|
|
2470
|
+
showLabelsCollapsed?: boolean | undefined;
|
|
2471
|
+
gradientProperty?: string | undefined;
|
|
2454
2472
|
}>>;
|
|
2455
2473
|
filters: z.ZodOptional<z.ZodObject<{
|
|
2456
2474
|
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>>;
|
|
@@ -2647,9 +2665,9 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
2647
2665
|
style?: {
|
|
2648
2666
|
type: "fill";
|
|
2649
2667
|
paint: {
|
|
2650
|
-
'fill-color': string;
|
|
2668
|
+
'fill-color': string | unknown[];
|
|
2651
2669
|
'fill-opacity': number;
|
|
2652
|
-
'fill-outline-color'?: string | undefined;
|
|
2670
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
2653
2671
|
'fill-antialias'?: boolean | undefined;
|
|
2654
2672
|
'fill-translate'?: [number, number] | undefined;
|
|
2655
2673
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -2662,7 +2680,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
2662
2680
|
} | {
|
|
2663
2681
|
type: "line";
|
|
2664
2682
|
paint: {
|
|
2665
|
-
'line-color': string;
|
|
2683
|
+
'line-color': string | unknown[];
|
|
2666
2684
|
'line-width': number;
|
|
2667
2685
|
'line-opacity': number;
|
|
2668
2686
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -2685,10 +2703,10 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
2685
2703
|
} | {
|
|
2686
2704
|
type: "circle";
|
|
2687
2705
|
paint: {
|
|
2688
|
-
'circle-color': string;
|
|
2706
|
+
'circle-color': string | unknown[];
|
|
2689
2707
|
'circle-radius': number;
|
|
2690
2708
|
'circle-opacity': number;
|
|
2691
|
-
'circle-stroke-color'?: string | undefined;
|
|
2709
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
2692
2710
|
'circle-stroke-width'?: number | undefined;
|
|
2693
2711
|
'circle-blur'?: number | undefined;
|
|
2694
2712
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -2705,15 +2723,15 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
2705
2723
|
type: "symbol";
|
|
2706
2724
|
paint: {
|
|
2707
2725
|
'icon-opacity'?: number | undefined;
|
|
2708
|
-
'icon-color'?: string | undefined;
|
|
2709
|
-
'icon-halo-color'?: string | undefined;
|
|
2726
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
2727
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
2710
2728
|
'icon-halo-width'?: number | undefined;
|
|
2711
2729
|
'icon-halo-blur'?: number | undefined;
|
|
2712
2730
|
'icon-translate'?: [number, number] | undefined;
|
|
2713
2731
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
2714
2732
|
'text-opacity'?: number | undefined;
|
|
2715
|
-
'text-color'?: string | undefined;
|
|
2716
|
-
'text-halo-color'?: string | undefined;
|
|
2733
|
+
'text-color'?: string | unknown[] | undefined;
|
|
2734
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
2717
2735
|
'text-halo-width'?: number | undefined;
|
|
2718
2736
|
'text-halo-blur'?: number | undefined;
|
|
2719
2737
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -2767,6 +2785,9 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
2767
2785
|
color: string;
|
|
2768
2786
|
shape?: "square" | "line" | "circle" | undefined;
|
|
2769
2787
|
}[];
|
|
2788
|
+
displayMode?: "categorical" | "gradient" | "simple" | undefined;
|
|
2789
|
+
showLabelsCollapsed?: boolean | undefined;
|
|
2790
|
+
gradientProperty?: string | undefined;
|
|
2770
2791
|
} | undefined;
|
|
2771
2792
|
filters?: {
|
|
2772
2793
|
datetime?: string | undefined;
|
|
@@ -2821,9 +2842,9 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
2821
2842
|
style?: {
|
|
2822
2843
|
type: "fill";
|
|
2823
2844
|
paint: {
|
|
2824
|
-
'fill-color'?: string | undefined;
|
|
2845
|
+
'fill-color'?: string | unknown[] | undefined;
|
|
2825
2846
|
'fill-opacity'?: number | undefined;
|
|
2826
|
-
'fill-outline-color'?: string | undefined;
|
|
2847
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
2827
2848
|
'fill-antialias'?: boolean | undefined;
|
|
2828
2849
|
'fill-translate'?: [number, number] | undefined;
|
|
2829
2850
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -2836,7 +2857,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
2836
2857
|
} | {
|
|
2837
2858
|
type: "line";
|
|
2838
2859
|
paint: {
|
|
2839
|
-
'line-color'?: string | undefined;
|
|
2860
|
+
'line-color'?: string | unknown[] | undefined;
|
|
2840
2861
|
'line-width'?: number | undefined;
|
|
2841
2862
|
'line-opacity'?: number | undefined;
|
|
2842
2863
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -2859,10 +2880,10 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
2859
2880
|
} | {
|
|
2860
2881
|
type: "circle";
|
|
2861
2882
|
paint: {
|
|
2862
|
-
'circle-color'?: string | undefined;
|
|
2883
|
+
'circle-color'?: string | unknown[] | undefined;
|
|
2863
2884
|
'circle-radius'?: number | undefined;
|
|
2864
2885
|
'circle-opacity'?: number | undefined;
|
|
2865
|
-
'circle-stroke-color'?: string | undefined;
|
|
2886
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
2866
2887
|
'circle-stroke-width'?: number | undefined;
|
|
2867
2888
|
'circle-blur'?: number | undefined;
|
|
2868
2889
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -2879,15 +2900,15 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
2879
2900
|
type: "symbol";
|
|
2880
2901
|
paint: {
|
|
2881
2902
|
'icon-opacity'?: number | undefined;
|
|
2882
|
-
'icon-color'?: string | undefined;
|
|
2883
|
-
'icon-halo-color'?: string | undefined;
|
|
2903
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
2904
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
2884
2905
|
'icon-halo-width'?: number | undefined;
|
|
2885
2906
|
'icon-halo-blur'?: number | undefined;
|
|
2886
2907
|
'icon-translate'?: [number, number] | undefined;
|
|
2887
2908
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
2888
2909
|
'text-opacity'?: number | undefined;
|
|
2889
|
-
'text-color'?: string | undefined;
|
|
2890
|
-
'text-halo-color'?: string | undefined;
|
|
2910
|
+
'text-color'?: string | unknown[] | undefined;
|
|
2911
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
2891
2912
|
'text-halo-width'?: number | undefined;
|
|
2892
2913
|
'text-halo-blur'?: number | undefined;
|
|
2893
2914
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -2941,6 +2962,9 @@ export declare const LayerConfigSchema: z.ZodObject<{
|
|
|
2941
2962
|
color: string;
|
|
2942
2963
|
shape?: "square" | "line" | "circle" | undefined;
|
|
2943
2964
|
}[];
|
|
2965
|
+
displayMode?: "categorical" | "gradient" | "simple" | undefined;
|
|
2966
|
+
showLabelsCollapsed?: boolean | undefined;
|
|
2967
|
+
gradientProperty?: string | undefined;
|
|
2944
2968
|
} | undefined;
|
|
2945
2969
|
filters?: {
|
|
2946
2970
|
datetime?: string | undefined;
|
|
@@ -3002,6 +3026,16 @@ export declare const BasemapConfigSchema: z.ZodObject<{
|
|
|
3002
3026
|
label: string;
|
|
3003
3027
|
thumbnail?: string | undefined;
|
|
3004
3028
|
}>;
|
|
3029
|
+
export declare const SpriteSourceSchema: z.ZodObject<{
|
|
3030
|
+
id: z.ZodString;
|
|
3031
|
+
url: z.ZodString;
|
|
3032
|
+
}, "strip", z.ZodTypeAny, {
|
|
3033
|
+
id: string;
|
|
3034
|
+
url: string;
|
|
3035
|
+
}, {
|
|
3036
|
+
id: string;
|
|
3037
|
+
url: string;
|
|
3038
|
+
}>;
|
|
3005
3039
|
export declare const UIConfigSchema: z.ZodObject<{
|
|
3006
3040
|
showLayerPanel: z.ZodDefault<z.ZodBoolean>;
|
|
3007
3041
|
showLegend: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -3011,6 +3045,7 @@ export declare const UIConfigSchema: z.ZodObject<{
|
|
|
3011
3045
|
showFeatureDetail: z.ZodDefault<z.ZodBoolean>;
|
|
3012
3046
|
showFeatureTooltip: z.ZodDefault<z.ZodBoolean>;
|
|
3013
3047
|
showExportButton: z.ZodDefault<z.ZodBoolean>;
|
|
3048
|
+
showLegendOpacity: z.ZodDefault<z.ZodBoolean>;
|
|
3014
3049
|
}, "strip", z.ZodTypeAny, {
|
|
3015
3050
|
showLayerPanel: boolean;
|
|
3016
3051
|
showLegend: boolean;
|
|
@@ -3020,6 +3055,7 @@ export declare const UIConfigSchema: z.ZodObject<{
|
|
|
3020
3055
|
showFeatureDetail: boolean;
|
|
3021
3056
|
showFeatureTooltip: boolean;
|
|
3022
3057
|
showExportButton: boolean;
|
|
3058
|
+
showLegendOpacity: boolean;
|
|
3023
3059
|
}, {
|
|
3024
3060
|
showLayerPanel?: boolean | undefined;
|
|
3025
3061
|
showLegend?: boolean | undefined;
|
|
@@ -3029,6 +3065,7 @@ export declare const UIConfigSchema: z.ZodObject<{
|
|
|
3029
3065
|
showFeatureDetail?: boolean | undefined;
|
|
3030
3066
|
showFeatureTooltip?: boolean | undefined;
|
|
3031
3067
|
showExportButton?: boolean | undefined;
|
|
3068
|
+
showLegendOpacity?: boolean | undefined;
|
|
3032
3069
|
}>;
|
|
3033
3070
|
export declare const MapConfigSchema: z.ZodObject<{
|
|
3034
3071
|
sources: z.ZodArray<z.ZodObject<{
|
|
@@ -3057,25 +3094,25 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3057
3094
|
style: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3058
3095
|
type: z.ZodLiteral<"fill">;
|
|
3059
3096
|
paint: z.ZodObject<{
|
|
3060
|
-
'fill-color': z.ZodDefault<z.ZodString
|
|
3097
|
+
'fill-color': z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
3061
3098
|
'fill-opacity': z.ZodDefault<z.ZodNumber>;
|
|
3062
|
-
'fill-outline-color': z.ZodOptional<z.ZodString
|
|
3099
|
+
'fill-outline-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
3063
3100
|
'fill-antialias': z.ZodOptional<z.ZodBoolean>;
|
|
3064
3101
|
'fill-translate': z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
3065
3102
|
'fill-translate-anchor': z.ZodOptional<z.ZodEnum<["map", "viewport"]>>;
|
|
3066
3103
|
'fill-pattern': z.ZodOptional<z.ZodString>;
|
|
3067
3104
|
}, "strip", z.ZodTypeAny, {
|
|
3068
|
-
'fill-color': string;
|
|
3105
|
+
'fill-color': string | unknown[];
|
|
3069
3106
|
'fill-opacity': number;
|
|
3070
|
-
'fill-outline-color'?: string | undefined;
|
|
3107
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
3071
3108
|
'fill-antialias'?: boolean | undefined;
|
|
3072
3109
|
'fill-translate'?: [number, number] | undefined;
|
|
3073
3110
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
3074
3111
|
'fill-pattern'?: string | undefined;
|
|
3075
3112
|
}, {
|
|
3076
|
-
'fill-color'?: string | undefined;
|
|
3113
|
+
'fill-color'?: string | unknown[] | undefined;
|
|
3077
3114
|
'fill-opacity'?: number | undefined;
|
|
3078
|
-
'fill-outline-color'?: string | undefined;
|
|
3115
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
3079
3116
|
'fill-antialias'?: boolean | undefined;
|
|
3080
3117
|
'fill-translate'?: [number, number] | undefined;
|
|
3081
3118
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -3094,9 +3131,9 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3094
3131
|
}, "strip", z.ZodTypeAny, {
|
|
3095
3132
|
type: "fill";
|
|
3096
3133
|
paint: {
|
|
3097
|
-
'fill-color': string;
|
|
3134
|
+
'fill-color': string | unknown[];
|
|
3098
3135
|
'fill-opacity': number;
|
|
3099
|
-
'fill-outline-color'?: string | undefined;
|
|
3136
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
3100
3137
|
'fill-antialias'?: boolean | undefined;
|
|
3101
3138
|
'fill-translate'?: [number, number] | undefined;
|
|
3102
3139
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -3109,9 +3146,9 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3109
3146
|
}, {
|
|
3110
3147
|
type: "fill";
|
|
3111
3148
|
paint: {
|
|
3112
|
-
'fill-color'?: string | undefined;
|
|
3149
|
+
'fill-color'?: string | unknown[] | undefined;
|
|
3113
3150
|
'fill-opacity'?: number | undefined;
|
|
3114
|
-
'fill-outline-color'?: string | undefined;
|
|
3151
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
3115
3152
|
'fill-antialias'?: boolean | undefined;
|
|
3116
3153
|
'fill-translate'?: [number, number] | undefined;
|
|
3117
3154
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -3124,7 +3161,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3124
3161
|
}>, z.ZodObject<{
|
|
3125
3162
|
type: z.ZodLiteral<"line">;
|
|
3126
3163
|
paint: z.ZodObject<{
|
|
3127
|
-
'line-color': z.ZodDefault<z.ZodString
|
|
3164
|
+
'line-color': z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
3128
3165
|
'line-width': z.ZodDefault<z.ZodNumber>;
|
|
3129
3166
|
'line-opacity': z.ZodDefault<z.ZodNumber>;
|
|
3130
3167
|
'line-dasharray': z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
@@ -3136,7 +3173,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3136
3173
|
'line-pattern': z.ZodOptional<z.ZodString>;
|
|
3137
3174
|
'line-gradient': z.ZodOptional<z.ZodString>;
|
|
3138
3175
|
}, "strip", z.ZodTypeAny, {
|
|
3139
|
-
'line-color': string;
|
|
3176
|
+
'line-color': string | unknown[];
|
|
3140
3177
|
'line-width': number;
|
|
3141
3178
|
'line-opacity': number;
|
|
3142
3179
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -3148,7 +3185,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3148
3185
|
'line-pattern'?: string | undefined;
|
|
3149
3186
|
'line-gradient'?: string | undefined;
|
|
3150
3187
|
}, {
|
|
3151
|
-
'line-color'?: string | undefined;
|
|
3188
|
+
'line-color'?: string | unknown[] | undefined;
|
|
3152
3189
|
'line-width'?: number | undefined;
|
|
3153
3190
|
'line-opacity'?: number | undefined;
|
|
3154
3191
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -3185,7 +3222,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3185
3222
|
}, "strip", z.ZodTypeAny, {
|
|
3186
3223
|
type: "line";
|
|
3187
3224
|
paint: {
|
|
3188
|
-
'line-color': string;
|
|
3225
|
+
'line-color': string | unknown[];
|
|
3189
3226
|
'line-width': number;
|
|
3190
3227
|
'line-opacity': number;
|
|
3191
3228
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -3208,7 +3245,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3208
3245
|
}, {
|
|
3209
3246
|
type: "line";
|
|
3210
3247
|
paint: {
|
|
3211
|
-
'line-color'?: string | undefined;
|
|
3248
|
+
'line-color'?: string | unknown[] | undefined;
|
|
3212
3249
|
'line-width'?: number | undefined;
|
|
3213
3250
|
'line-opacity'?: number | undefined;
|
|
3214
3251
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -3231,10 +3268,10 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3231
3268
|
}>, z.ZodObject<{
|
|
3232
3269
|
type: z.ZodLiteral<"circle">;
|
|
3233
3270
|
paint: z.ZodObject<{
|
|
3234
|
-
'circle-color': z.ZodDefault<z.ZodString
|
|
3271
|
+
'circle-color': z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
3235
3272
|
'circle-radius': z.ZodDefault<z.ZodNumber>;
|
|
3236
3273
|
'circle-opacity': z.ZodDefault<z.ZodNumber>;
|
|
3237
|
-
'circle-stroke-color': z.ZodOptional<z.ZodString
|
|
3274
|
+
'circle-stroke-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
3238
3275
|
'circle-stroke-width': z.ZodOptional<z.ZodNumber>;
|
|
3239
3276
|
'circle-blur': z.ZodOptional<z.ZodNumber>;
|
|
3240
3277
|
'circle-translate': z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
@@ -3243,10 +3280,10 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3243
3280
|
'circle-pitch-alignment': z.ZodOptional<z.ZodEnum<["map", "viewport"]>>;
|
|
3244
3281
|
'circle-stroke-opacity': z.ZodOptional<z.ZodNumber>;
|
|
3245
3282
|
}, "strip", z.ZodTypeAny, {
|
|
3246
|
-
'circle-color': string;
|
|
3283
|
+
'circle-color': string | unknown[];
|
|
3247
3284
|
'circle-radius': number;
|
|
3248
3285
|
'circle-opacity': number;
|
|
3249
|
-
'circle-stroke-color'?: string | undefined;
|
|
3286
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
3250
3287
|
'circle-stroke-width'?: number | undefined;
|
|
3251
3288
|
'circle-blur'?: number | undefined;
|
|
3252
3289
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -3255,10 +3292,10 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3255
3292
|
'circle-pitch-alignment'?: "map" | "viewport" | undefined;
|
|
3256
3293
|
'circle-stroke-opacity'?: number | undefined;
|
|
3257
3294
|
}, {
|
|
3258
|
-
'circle-color'?: string | undefined;
|
|
3295
|
+
'circle-color'?: string | unknown[] | undefined;
|
|
3259
3296
|
'circle-radius'?: number | undefined;
|
|
3260
3297
|
'circle-opacity'?: number | undefined;
|
|
3261
|
-
'circle-stroke-color'?: string | undefined;
|
|
3298
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
3262
3299
|
'circle-stroke-width'?: number | undefined;
|
|
3263
3300
|
'circle-blur'?: number | undefined;
|
|
3264
3301
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -3280,10 +3317,10 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3280
3317
|
}, "strip", z.ZodTypeAny, {
|
|
3281
3318
|
type: "circle";
|
|
3282
3319
|
paint: {
|
|
3283
|
-
'circle-color': string;
|
|
3320
|
+
'circle-color': string | unknown[];
|
|
3284
3321
|
'circle-radius': number;
|
|
3285
3322
|
'circle-opacity': number;
|
|
3286
|
-
'circle-stroke-color'?: string | undefined;
|
|
3323
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
3287
3324
|
'circle-stroke-width'?: number | undefined;
|
|
3288
3325
|
'circle-blur'?: number | undefined;
|
|
3289
3326
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -3299,10 +3336,10 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3299
3336
|
}, {
|
|
3300
3337
|
type: "circle";
|
|
3301
3338
|
paint: {
|
|
3302
|
-
'circle-color'?: string | undefined;
|
|
3339
|
+
'circle-color'?: string | unknown[] | undefined;
|
|
3303
3340
|
'circle-radius'?: number | undefined;
|
|
3304
3341
|
'circle-opacity'?: number | undefined;
|
|
3305
|
-
'circle-stroke-color'?: string | undefined;
|
|
3342
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
3306
3343
|
'circle-stroke-width'?: number | undefined;
|
|
3307
3344
|
'circle-blur'?: number | undefined;
|
|
3308
3345
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -3319,45 +3356,45 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3319
3356
|
type: z.ZodLiteral<"symbol">;
|
|
3320
3357
|
paint: z.ZodObject<{
|
|
3321
3358
|
'icon-opacity': z.ZodOptional<z.ZodNumber>;
|
|
3322
|
-
'icon-color': z.ZodOptional<z.ZodString
|
|
3323
|
-
'icon-halo-color': z.ZodOptional<z.ZodString
|
|
3359
|
+
'icon-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
3360
|
+
'icon-halo-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
3324
3361
|
'icon-halo-width': z.ZodOptional<z.ZodNumber>;
|
|
3325
3362
|
'icon-halo-blur': z.ZodOptional<z.ZodNumber>;
|
|
3326
3363
|
'icon-translate': z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
3327
3364
|
'icon-translate-anchor': z.ZodOptional<z.ZodEnum<["map", "viewport"]>>;
|
|
3328
3365
|
'text-opacity': z.ZodOptional<z.ZodNumber>;
|
|
3329
|
-
'text-color': z.ZodOptional<z.ZodString
|
|
3330
|
-
'text-halo-color': z.ZodOptional<z.ZodString
|
|
3366
|
+
'text-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
3367
|
+
'text-halo-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
3331
3368
|
'text-halo-width': z.ZodOptional<z.ZodNumber>;
|
|
3332
3369
|
'text-halo-blur': z.ZodOptional<z.ZodNumber>;
|
|
3333
3370
|
'text-translate': z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
3334
3371
|
'text-translate-anchor': z.ZodOptional<z.ZodEnum<["map", "viewport"]>>;
|
|
3335
3372
|
}, "strip", z.ZodTypeAny, {
|
|
3336
3373
|
'icon-opacity'?: number | undefined;
|
|
3337
|
-
'icon-color'?: string | undefined;
|
|
3338
|
-
'icon-halo-color'?: string | undefined;
|
|
3374
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
3375
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
3339
3376
|
'icon-halo-width'?: number | undefined;
|
|
3340
3377
|
'icon-halo-blur'?: number | undefined;
|
|
3341
3378
|
'icon-translate'?: [number, number] | undefined;
|
|
3342
3379
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
3343
3380
|
'text-opacity'?: number | undefined;
|
|
3344
|
-
'text-color'?: string | undefined;
|
|
3345
|
-
'text-halo-color'?: string | undefined;
|
|
3381
|
+
'text-color'?: string | unknown[] | undefined;
|
|
3382
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
3346
3383
|
'text-halo-width'?: number | undefined;
|
|
3347
3384
|
'text-halo-blur'?: number | undefined;
|
|
3348
3385
|
'text-translate'?: [number, number] | undefined;
|
|
3349
3386
|
'text-translate-anchor'?: "map" | "viewport" | undefined;
|
|
3350
3387
|
}, {
|
|
3351
3388
|
'icon-opacity'?: number | undefined;
|
|
3352
|
-
'icon-color'?: string | undefined;
|
|
3353
|
-
'icon-halo-color'?: string | undefined;
|
|
3389
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
3390
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
3354
3391
|
'icon-halo-width'?: number | undefined;
|
|
3355
3392
|
'icon-halo-blur'?: number | undefined;
|
|
3356
3393
|
'icon-translate'?: [number, number] | undefined;
|
|
3357
3394
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
3358
3395
|
'text-opacity'?: number | undefined;
|
|
3359
|
-
'text-color'?: string | undefined;
|
|
3360
|
-
'text-halo-color'?: string | undefined;
|
|
3396
|
+
'text-color'?: string | unknown[] | undefined;
|
|
3397
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
3361
3398
|
'text-halo-width'?: number | undefined;
|
|
3362
3399
|
'text-halo-blur'?: number | undefined;
|
|
3363
3400
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -3488,15 +3525,15 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3488
3525
|
type: "symbol";
|
|
3489
3526
|
paint: {
|
|
3490
3527
|
'icon-opacity'?: number | undefined;
|
|
3491
|
-
'icon-color'?: string | undefined;
|
|
3492
|
-
'icon-halo-color'?: string | undefined;
|
|
3528
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
3529
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
3493
3530
|
'icon-halo-width'?: number | undefined;
|
|
3494
3531
|
'icon-halo-blur'?: number | undefined;
|
|
3495
3532
|
'icon-translate'?: [number, number] | undefined;
|
|
3496
3533
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
3497
3534
|
'text-opacity'?: number | undefined;
|
|
3498
|
-
'text-color'?: string | undefined;
|
|
3499
|
-
'text-halo-color'?: string | undefined;
|
|
3535
|
+
'text-color'?: string | unknown[] | undefined;
|
|
3536
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
3500
3537
|
'text-halo-width'?: number | undefined;
|
|
3501
3538
|
'text-halo-blur'?: number | undefined;
|
|
3502
3539
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -3547,15 +3584,15 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3547
3584
|
type: "symbol";
|
|
3548
3585
|
paint: {
|
|
3549
3586
|
'icon-opacity'?: number | undefined;
|
|
3550
|
-
'icon-color'?: string | undefined;
|
|
3551
|
-
'icon-halo-color'?: string | undefined;
|
|
3587
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
3588
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
3552
3589
|
'icon-halo-width'?: number | undefined;
|
|
3553
3590
|
'icon-halo-blur'?: number | undefined;
|
|
3554
3591
|
'icon-translate'?: [number, number] | undefined;
|
|
3555
3592
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
3556
3593
|
'text-opacity'?: number | undefined;
|
|
3557
|
-
'text-color'?: string | undefined;
|
|
3558
|
-
'text-halo-color'?: string | undefined;
|
|
3594
|
+
'text-color'?: string | unknown[] | undefined;
|
|
3595
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
3559
3596
|
'text-halo-width'?: number | undefined;
|
|
3560
3597
|
'text-halo-blur'?: number | undefined;
|
|
3561
3598
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -3617,18 +3654,27 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3617
3654
|
color: string;
|
|
3618
3655
|
shape?: "square" | "line" | "circle" | undefined;
|
|
3619
3656
|
}>, "many">;
|
|
3657
|
+
displayMode: z.ZodOptional<z.ZodEnum<["categorical", "gradient", "simple"]>>;
|
|
3658
|
+
showLabelsCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
3659
|
+
gradientProperty: z.ZodOptional<z.ZodString>;
|
|
3620
3660
|
}, "strip", z.ZodTypeAny, {
|
|
3621
3661
|
entries: {
|
|
3622
3662
|
label: string;
|
|
3623
3663
|
color: string;
|
|
3624
3664
|
shape?: "square" | "line" | "circle" | undefined;
|
|
3625
3665
|
}[];
|
|
3666
|
+
displayMode?: "categorical" | "gradient" | "simple" | undefined;
|
|
3667
|
+
showLabelsCollapsed?: boolean | undefined;
|
|
3668
|
+
gradientProperty?: string | undefined;
|
|
3626
3669
|
}, {
|
|
3627
3670
|
entries: {
|
|
3628
3671
|
label: string;
|
|
3629
3672
|
color: string;
|
|
3630
3673
|
shape?: "square" | "line" | "circle" | undefined;
|
|
3631
3674
|
}[];
|
|
3675
|
+
displayMode?: "categorical" | "gradient" | "simple" | undefined;
|
|
3676
|
+
showLabelsCollapsed?: boolean | undefined;
|
|
3677
|
+
gradientProperty?: string | undefined;
|
|
3632
3678
|
}>>;
|
|
3633
3679
|
filters: z.ZodOptional<z.ZodObject<{
|
|
3634
3680
|
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>>;
|
|
@@ -3825,9 +3871,9 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3825
3871
|
style?: {
|
|
3826
3872
|
type: "fill";
|
|
3827
3873
|
paint: {
|
|
3828
|
-
'fill-color': string;
|
|
3874
|
+
'fill-color': string | unknown[];
|
|
3829
3875
|
'fill-opacity': number;
|
|
3830
|
-
'fill-outline-color'?: string | undefined;
|
|
3876
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
3831
3877
|
'fill-antialias'?: boolean | undefined;
|
|
3832
3878
|
'fill-translate'?: [number, number] | undefined;
|
|
3833
3879
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -3840,7 +3886,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3840
3886
|
} | {
|
|
3841
3887
|
type: "line";
|
|
3842
3888
|
paint: {
|
|
3843
|
-
'line-color': string;
|
|
3889
|
+
'line-color': string | unknown[];
|
|
3844
3890
|
'line-width': number;
|
|
3845
3891
|
'line-opacity': number;
|
|
3846
3892
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -3863,10 +3909,10 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3863
3909
|
} | {
|
|
3864
3910
|
type: "circle";
|
|
3865
3911
|
paint: {
|
|
3866
|
-
'circle-color': string;
|
|
3912
|
+
'circle-color': string | unknown[];
|
|
3867
3913
|
'circle-radius': number;
|
|
3868
3914
|
'circle-opacity': number;
|
|
3869
|
-
'circle-stroke-color'?: string | undefined;
|
|
3915
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
3870
3916
|
'circle-stroke-width'?: number | undefined;
|
|
3871
3917
|
'circle-blur'?: number | undefined;
|
|
3872
3918
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -3883,15 +3929,15 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3883
3929
|
type: "symbol";
|
|
3884
3930
|
paint: {
|
|
3885
3931
|
'icon-opacity'?: number | undefined;
|
|
3886
|
-
'icon-color'?: string | undefined;
|
|
3887
|
-
'icon-halo-color'?: string | undefined;
|
|
3932
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
3933
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
3888
3934
|
'icon-halo-width'?: number | undefined;
|
|
3889
3935
|
'icon-halo-blur'?: number | undefined;
|
|
3890
3936
|
'icon-translate'?: [number, number] | undefined;
|
|
3891
3937
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
3892
3938
|
'text-opacity'?: number | undefined;
|
|
3893
|
-
'text-color'?: string | undefined;
|
|
3894
|
-
'text-halo-color'?: string | undefined;
|
|
3939
|
+
'text-color'?: string | unknown[] | undefined;
|
|
3940
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
3895
3941
|
'text-halo-width'?: number | undefined;
|
|
3896
3942
|
'text-halo-blur'?: number | undefined;
|
|
3897
3943
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -3945,6 +3991,9 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3945
3991
|
color: string;
|
|
3946
3992
|
shape?: "square" | "line" | "circle" | undefined;
|
|
3947
3993
|
}[];
|
|
3994
|
+
displayMode?: "categorical" | "gradient" | "simple" | undefined;
|
|
3995
|
+
showLabelsCollapsed?: boolean | undefined;
|
|
3996
|
+
gradientProperty?: string | undefined;
|
|
3948
3997
|
} | undefined;
|
|
3949
3998
|
filters?: {
|
|
3950
3999
|
datetime?: string | undefined;
|
|
@@ -3999,9 +4048,9 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3999
4048
|
style?: {
|
|
4000
4049
|
type: "fill";
|
|
4001
4050
|
paint: {
|
|
4002
|
-
'fill-color'?: string | undefined;
|
|
4051
|
+
'fill-color'?: string | unknown[] | undefined;
|
|
4003
4052
|
'fill-opacity'?: number | undefined;
|
|
4004
|
-
'fill-outline-color'?: string | undefined;
|
|
4053
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
4005
4054
|
'fill-antialias'?: boolean | undefined;
|
|
4006
4055
|
'fill-translate'?: [number, number] | undefined;
|
|
4007
4056
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -4014,7 +4063,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4014
4063
|
} | {
|
|
4015
4064
|
type: "line";
|
|
4016
4065
|
paint: {
|
|
4017
|
-
'line-color'?: string | undefined;
|
|
4066
|
+
'line-color'?: string | unknown[] | undefined;
|
|
4018
4067
|
'line-width'?: number | undefined;
|
|
4019
4068
|
'line-opacity'?: number | undefined;
|
|
4020
4069
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -4037,10 +4086,10 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4037
4086
|
} | {
|
|
4038
4087
|
type: "circle";
|
|
4039
4088
|
paint: {
|
|
4040
|
-
'circle-color'?: string | undefined;
|
|
4089
|
+
'circle-color'?: string | unknown[] | undefined;
|
|
4041
4090
|
'circle-radius'?: number | undefined;
|
|
4042
4091
|
'circle-opacity'?: number | undefined;
|
|
4043
|
-
'circle-stroke-color'?: string | undefined;
|
|
4092
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
4044
4093
|
'circle-stroke-width'?: number | undefined;
|
|
4045
4094
|
'circle-blur'?: number | undefined;
|
|
4046
4095
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -4057,15 +4106,15 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4057
4106
|
type: "symbol";
|
|
4058
4107
|
paint: {
|
|
4059
4108
|
'icon-opacity'?: number | undefined;
|
|
4060
|
-
'icon-color'?: string | undefined;
|
|
4061
|
-
'icon-halo-color'?: string | undefined;
|
|
4109
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
4110
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
4062
4111
|
'icon-halo-width'?: number | undefined;
|
|
4063
4112
|
'icon-halo-blur'?: number | undefined;
|
|
4064
4113
|
'icon-translate'?: [number, number] | undefined;
|
|
4065
4114
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
4066
4115
|
'text-opacity'?: number | undefined;
|
|
4067
|
-
'text-color'?: string | undefined;
|
|
4068
|
-
'text-halo-color'?: string | undefined;
|
|
4116
|
+
'text-color'?: string | unknown[] | undefined;
|
|
4117
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
4069
4118
|
'text-halo-width'?: number | undefined;
|
|
4070
4119
|
'text-halo-blur'?: number | undefined;
|
|
4071
4120
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -4119,6 +4168,9 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4119
4168
|
color: string;
|
|
4120
4169
|
shape?: "square" | "line" | "circle" | undefined;
|
|
4121
4170
|
}[];
|
|
4171
|
+
displayMode?: "categorical" | "gradient" | "simple" | undefined;
|
|
4172
|
+
showLabelsCollapsed?: boolean | undefined;
|
|
4173
|
+
gradientProperty?: string | undefined;
|
|
4122
4174
|
} | undefined;
|
|
4123
4175
|
filters?: {
|
|
4124
4176
|
datetime?: string | undefined;
|
|
@@ -4180,6 +4232,16 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4180
4232
|
label: string;
|
|
4181
4233
|
thumbnail?: string | undefined;
|
|
4182
4234
|
}>, "many">;
|
|
4235
|
+
sprites: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4236
|
+
id: z.ZodString;
|
|
4237
|
+
url: z.ZodString;
|
|
4238
|
+
}, "strip", z.ZodTypeAny, {
|
|
4239
|
+
id: string;
|
|
4240
|
+
url: string;
|
|
4241
|
+
}, {
|
|
4242
|
+
id: string;
|
|
4243
|
+
url: string;
|
|
4244
|
+
}>, "many">>;
|
|
4183
4245
|
ui: z.ZodDefault<z.ZodObject<{
|
|
4184
4246
|
showLayerPanel: z.ZodDefault<z.ZodBoolean>;
|
|
4185
4247
|
showLegend: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -4189,6 +4251,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4189
4251
|
showFeatureDetail: z.ZodDefault<z.ZodBoolean>;
|
|
4190
4252
|
showFeatureTooltip: z.ZodDefault<z.ZodBoolean>;
|
|
4191
4253
|
showExportButton: z.ZodDefault<z.ZodBoolean>;
|
|
4254
|
+
showLegendOpacity: z.ZodDefault<z.ZodBoolean>;
|
|
4192
4255
|
}, "strip", z.ZodTypeAny, {
|
|
4193
4256
|
showLayerPanel: boolean;
|
|
4194
4257
|
showLegend: boolean;
|
|
@@ -4198,6 +4261,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4198
4261
|
showFeatureDetail: boolean;
|
|
4199
4262
|
showFeatureTooltip: boolean;
|
|
4200
4263
|
showExportButton: boolean;
|
|
4264
|
+
showLegendOpacity: boolean;
|
|
4201
4265
|
}, {
|
|
4202
4266
|
showLayerPanel?: boolean | undefined;
|
|
4203
4267
|
showLegend?: boolean | undefined;
|
|
@@ -4207,6 +4271,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4207
4271
|
showFeatureDetail?: boolean | undefined;
|
|
4208
4272
|
showFeatureTooltip?: boolean | undefined;
|
|
4209
4273
|
showExportButton?: boolean | undefined;
|
|
4274
|
+
showLegendOpacity?: boolean | undefined;
|
|
4210
4275
|
}>>;
|
|
4211
4276
|
initialView: z.ZodObject<{
|
|
4212
4277
|
latitude: z.ZodNumber;
|
|
@@ -4244,9 +4309,9 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4244
4309
|
style?: {
|
|
4245
4310
|
type: "fill";
|
|
4246
4311
|
paint: {
|
|
4247
|
-
'fill-color': string;
|
|
4312
|
+
'fill-color': string | unknown[];
|
|
4248
4313
|
'fill-opacity': number;
|
|
4249
|
-
'fill-outline-color'?: string | undefined;
|
|
4314
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
4250
4315
|
'fill-antialias'?: boolean | undefined;
|
|
4251
4316
|
'fill-translate'?: [number, number] | undefined;
|
|
4252
4317
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -4259,7 +4324,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4259
4324
|
} | {
|
|
4260
4325
|
type: "line";
|
|
4261
4326
|
paint: {
|
|
4262
|
-
'line-color': string;
|
|
4327
|
+
'line-color': string | unknown[];
|
|
4263
4328
|
'line-width': number;
|
|
4264
4329
|
'line-opacity': number;
|
|
4265
4330
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -4282,10 +4347,10 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4282
4347
|
} | {
|
|
4283
4348
|
type: "circle";
|
|
4284
4349
|
paint: {
|
|
4285
|
-
'circle-color': string;
|
|
4350
|
+
'circle-color': string | unknown[];
|
|
4286
4351
|
'circle-radius': number;
|
|
4287
4352
|
'circle-opacity': number;
|
|
4288
|
-
'circle-stroke-color'?: string | undefined;
|
|
4353
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
4289
4354
|
'circle-stroke-width'?: number | undefined;
|
|
4290
4355
|
'circle-blur'?: number | undefined;
|
|
4291
4356
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -4302,15 +4367,15 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4302
4367
|
type: "symbol";
|
|
4303
4368
|
paint: {
|
|
4304
4369
|
'icon-opacity'?: number | undefined;
|
|
4305
|
-
'icon-color'?: string | undefined;
|
|
4306
|
-
'icon-halo-color'?: string | undefined;
|
|
4370
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
4371
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
4307
4372
|
'icon-halo-width'?: number | undefined;
|
|
4308
4373
|
'icon-halo-blur'?: number | undefined;
|
|
4309
4374
|
'icon-translate'?: [number, number] | undefined;
|
|
4310
4375
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
4311
4376
|
'text-opacity'?: number | undefined;
|
|
4312
|
-
'text-color'?: string | undefined;
|
|
4313
|
-
'text-halo-color'?: string | undefined;
|
|
4377
|
+
'text-color'?: string | unknown[] | undefined;
|
|
4378
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
4314
4379
|
'text-halo-width'?: number | undefined;
|
|
4315
4380
|
'text-halo-blur'?: number | undefined;
|
|
4316
4381
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -4364,6 +4429,9 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4364
4429
|
color: string;
|
|
4365
4430
|
shape?: "square" | "line" | "circle" | undefined;
|
|
4366
4431
|
}[];
|
|
4432
|
+
displayMode?: "categorical" | "gradient" | "simple" | undefined;
|
|
4433
|
+
showLabelsCollapsed?: boolean | undefined;
|
|
4434
|
+
gradientProperty?: string | undefined;
|
|
4367
4435
|
} | undefined;
|
|
4368
4436
|
filters?: {
|
|
4369
4437
|
datetime?: string | undefined;
|
|
@@ -4424,6 +4492,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4424
4492
|
showFeatureDetail: boolean;
|
|
4425
4493
|
showFeatureTooltip: boolean;
|
|
4426
4494
|
showExportButton: boolean;
|
|
4495
|
+
showLegendOpacity: boolean;
|
|
4427
4496
|
};
|
|
4428
4497
|
initialView: {
|
|
4429
4498
|
latitude: number;
|
|
@@ -4432,6 +4501,10 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4432
4501
|
pitch: number;
|
|
4433
4502
|
bearing: number;
|
|
4434
4503
|
};
|
|
4504
|
+
sprites?: {
|
|
4505
|
+
id: string;
|
|
4506
|
+
url: string;
|
|
4507
|
+
}[] | undefined;
|
|
4435
4508
|
}, {
|
|
4436
4509
|
sources: {
|
|
4437
4510
|
id: string;
|
|
@@ -4449,9 +4522,9 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4449
4522
|
style?: {
|
|
4450
4523
|
type: "fill";
|
|
4451
4524
|
paint: {
|
|
4452
|
-
'fill-color'?: string | undefined;
|
|
4525
|
+
'fill-color'?: string | unknown[] | undefined;
|
|
4453
4526
|
'fill-opacity'?: number | undefined;
|
|
4454
|
-
'fill-outline-color'?: string | undefined;
|
|
4527
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
4455
4528
|
'fill-antialias'?: boolean | undefined;
|
|
4456
4529
|
'fill-translate'?: [number, number] | undefined;
|
|
4457
4530
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -4464,7 +4537,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4464
4537
|
} | {
|
|
4465
4538
|
type: "line";
|
|
4466
4539
|
paint: {
|
|
4467
|
-
'line-color'?: string | undefined;
|
|
4540
|
+
'line-color'?: string | unknown[] | undefined;
|
|
4468
4541
|
'line-width'?: number | undefined;
|
|
4469
4542
|
'line-opacity'?: number | undefined;
|
|
4470
4543
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -4487,10 +4560,10 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4487
4560
|
} | {
|
|
4488
4561
|
type: "circle";
|
|
4489
4562
|
paint: {
|
|
4490
|
-
'circle-color'?: string | undefined;
|
|
4563
|
+
'circle-color'?: string | unknown[] | undefined;
|
|
4491
4564
|
'circle-radius'?: number | undefined;
|
|
4492
4565
|
'circle-opacity'?: number | undefined;
|
|
4493
|
-
'circle-stroke-color'?: string | undefined;
|
|
4566
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
4494
4567
|
'circle-stroke-width'?: number | undefined;
|
|
4495
4568
|
'circle-blur'?: number | undefined;
|
|
4496
4569
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -4507,15 +4580,15 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4507
4580
|
type: "symbol";
|
|
4508
4581
|
paint: {
|
|
4509
4582
|
'icon-opacity'?: number | undefined;
|
|
4510
|
-
'icon-color'?: string | undefined;
|
|
4511
|
-
'icon-halo-color'?: string | undefined;
|
|
4583
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
4584
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
4512
4585
|
'icon-halo-width'?: number | undefined;
|
|
4513
4586
|
'icon-halo-blur'?: number | undefined;
|
|
4514
4587
|
'icon-translate'?: [number, number] | undefined;
|
|
4515
4588
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
4516
4589
|
'text-opacity'?: number | undefined;
|
|
4517
|
-
'text-color'?: string | undefined;
|
|
4518
|
-
'text-halo-color'?: string | undefined;
|
|
4590
|
+
'text-color'?: string | unknown[] | undefined;
|
|
4591
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
4519
4592
|
'text-halo-width'?: number | undefined;
|
|
4520
4593
|
'text-halo-blur'?: number | undefined;
|
|
4521
4594
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -4569,6 +4642,9 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4569
4642
|
color: string;
|
|
4570
4643
|
shape?: "square" | "line" | "circle" | undefined;
|
|
4571
4644
|
}[];
|
|
4645
|
+
displayMode?: "categorical" | "gradient" | "simple" | undefined;
|
|
4646
|
+
showLabelsCollapsed?: boolean | undefined;
|
|
4647
|
+
gradientProperty?: string | undefined;
|
|
4572
4648
|
} | undefined;
|
|
4573
4649
|
filters?: {
|
|
4574
4650
|
datetime?: string | undefined;
|
|
@@ -4627,6 +4703,10 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4627
4703
|
pitch?: number | undefined;
|
|
4628
4704
|
bearing?: number | undefined;
|
|
4629
4705
|
};
|
|
4706
|
+
sprites?: {
|
|
4707
|
+
id: string;
|
|
4708
|
+
url: string;
|
|
4709
|
+
}[] | undefined;
|
|
4630
4710
|
ui?: {
|
|
4631
4711
|
showLayerPanel?: boolean | undefined;
|
|
4632
4712
|
showLegend?: boolean | undefined;
|
|
@@ -4636,6 +4716,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4636
4716
|
showFeatureDetail?: boolean | undefined;
|
|
4637
4717
|
showFeatureTooltip?: boolean | undefined;
|
|
4638
4718
|
showExportButton?: boolean | undefined;
|
|
4719
|
+
showLegendOpacity?: boolean | undefined;
|
|
4639
4720
|
} | undefined;
|
|
4640
4721
|
}>;
|
|
4641
4722
|
/**
|
|
@@ -4658,9 +4739,9 @@ export declare function validateMapConfig(config: unknown): {
|
|
|
4658
4739
|
style?: {
|
|
4659
4740
|
type: "fill";
|
|
4660
4741
|
paint: {
|
|
4661
|
-
'fill-color': string;
|
|
4742
|
+
'fill-color': string | unknown[];
|
|
4662
4743
|
'fill-opacity': number;
|
|
4663
|
-
'fill-outline-color'?: string | undefined;
|
|
4744
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
4664
4745
|
'fill-antialias'?: boolean | undefined;
|
|
4665
4746
|
'fill-translate'?: [number, number] | undefined;
|
|
4666
4747
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -4673,7 +4754,7 @@ export declare function validateMapConfig(config: unknown): {
|
|
|
4673
4754
|
} | {
|
|
4674
4755
|
type: "line";
|
|
4675
4756
|
paint: {
|
|
4676
|
-
'line-color': string;
|
|
4757
|
+
'line-color': string | unknown[];
|
|
4677
4758
|
'line-width': number;
|
|
4678
4759
|
'line-opacity': number;
|
|
4679
4760
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -4696,10 +4777,10 @@ export declare function validateMapConfig(config: unknown): {
|
|
|
4696
4777
|
} | {
|
|
4697
4778
|
type: "circle";
|
|
4698
4779
|
paint: {
|
|
4699
|
-
'circle-color': string;
|
|
4780
|
+
'circle-color': string | unknown[];
|
|
4700
4781
|
'circle-radius': number;
|
|
4701
4782
|
'circle-opacity': number;
|
|
4702
|
-
'circle-stroke-color'?: string | undefined;
|
|
4783
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
4703
4784
|
'circle-stroke-width'?: number | undefined;
|
|
4704
4785
|
'circle-blur'?: number | undefined;
|
|
4705
4786
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -4716,15 +4797,15 @@ export declare function validateMapConfig(config: unknown): {
|
|
|
4716
4797
|
type: "symbol";
|
|
4717
4798
|
paint: {
|
|
4718
4799
|
'icon-opacity'?: number | undefined;
|
|
4719
|
-
'icon-color'?: string | undefined;
|
|
4720
|
-
'icon-halo-color'?: string | undefined;
|
|
4800
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
4801
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
4721
4802
|
'icon-halo-width'?: number | undefined;
|
|
4722
4803
|
'icon-halo-blur'?: number | undefined;
|
|
4723
4804
|
'icon-translate'?: [number, number] | undefined;
|
|
4724
4805
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
4725
4806
|
'text-opacity'?: number | undefined;
|
|
4726
|
-
'text-color'?: string | undefined;
|
|
4727
|
-
'text-halo-color'?: string | undefined;
|
|
4807
|
+
'text-color'?: string | unknown[] | undefined;
|
|
4808
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
4728
4809
|
'text-halo-width'?: number | undefined;
|
|
4729
4810
|
'text-halo-blur'?: number | undefined;
|
|
4730
4811
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -4778,6 +4859,9 @@ export declare function validateMapConfig(config: unknown): {
|
|
|
4778
4859
|
color: string;
|
|
4779
4860
|
shape?: "square" | "line" | "circle" | undefined;
|
|
4780
4861
|
}[];
|
|
4862
|
+
displayMode?: "categorical" | "gradient" | "simple" | undefined;
|
|
4863
|
+
showLabelsCollapsed?: boolean | undefined;
|
|
4864
|
+
gradientProperty?: string | undefined;
|
|
4781
4865
|
} | undefined;
|
|
4782
4866
|
filters?: {
|
|
4783
4867
|
datetime?: string | undefined;
|
|
@@ -4838,6 +4922,7 @@ export declare function validateMapConfig(config: unknown): {
|
|
|
4838
4922
|
showFeatureDetail: boolean;
|
|
4839
4923
|
showFeatureTooltip: boolean;
|
|
4840
4924
|
showExportButton: boolean;
|
|
4925
|
+
showLegendOpacity: boolean;
|
|
4841
4926
|
};
|
|
4842
4927
|
initialView: {
|
|
4843
4928
|
latitude: number;
|
|
@@ -4846,6 +4931,10 @@ export declare function validateMapConfig(config: unknown): {
|
|
|
4846
4931
|
pitch: number;
|
|
4847
4932
|
bearing: number;
|
|
4848
4933
|
};
|
|
4934
|
+
sprites?: {
|
|
4935
|
+
id: string;
|
|
4936
|
+
url: string;
|
|
4937
|
+
}[] | undefined;
|
|
4849
4938
|
};
|
|
4850
4939
|
/**
|
|
4851
4940
|
* Validates a map config, returning a safe result object instead of throwing.
|
|
@@ -4867,9 +4956,9 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
4867
4956
|
style?: {
|
|
4868
4957
|
type: "fill";
|
|
4869
4958
|
paint: {
|
|
4870
|
-
'fill-color'?: string | undefined;
|
|
4959
|
+
'fill-color'?: string | unknown[] | undefined;
|
|
4871
4960
|
'fill-opacity'?: number | undefined;
|
|
4872
|
-
'fill-outline-color'?: string | undefined;
|
|
4961
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
4873
4962
|
'fill-antialias'?: boolean | undefined;
|
|
4874
4963
|
'fill-translate'?: [number, number] | undefined;
|
|
4875
4964
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -4882,7 +4971,7 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
4882
4971
|
} | {
|
|
4883
4972
|
type: "line";
|
|
4884
4973
|
paint: {
|
|
4885
|
-
'line-color'?: string | undefined;
|
|
4974
|
+
'line-color'?: string | unknown[] | undefined;
|
|
4886
4975
|
'line-width'?: number | undefined;
|
|
4887
4976
|
'line-opacity'?: number | undefined;
|
|
4888
4977
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -4905,10 +4994,10 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
4905
4994
|
} | {
|
|
4906
4995
|
type: "circle";
|
|
4907
4996
|
paint: {
|
|
4908
|
-
'circle-color'?: string | undefined;
|
|
4997
|
+
'circle-color'?: string | unknown[] | undefined;
|
|
4909
4998
|
'circle-radius'?: number | undefined;
|
|
4910
4999
|
'circle-opacity'?: number | undefined;
|
|
4911
|
-
'circle-stroke-color'?: string | undefined;
|
|
5000
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
4912
5001
|
'circle-stroke-width'?: number | undefined;
|
|
4913
5002
|
'circle-blur'?: number | undefined;
|
|
4914
5003
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -4925,15 +5014,15 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
4925
5014
|
type: "symbol";
|
|
4926
5015
|
paint: {
|
|
4927
5016
|
'icon-opacity'?: number | undefined;
|
|
4928
|
-
'icon-color'?: string | undefined;
|
|
4929
|
-
'icon-halo-color'?: string | undefined;
|
|
5017
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
5018
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
4930
5019
|
'icon-halo-width'?: number | undefined;
|
|
4931
5020
|
'icon-halo-blur'?: number | undefined;
|
|
4932
5021
|
'icon-translate'?: [number, number] | undefined;
|
|
4933
5022
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
4934
5023
|
'text-opacity'?: number | undefined;
|
|
4935
|
-
'text-color'?: string | undefined;
|
|
4936
|
-
'text-halo-color'?: string | undefined;
|
|
5024
|
+
'text-color'?: string | unknown[] | undefined;
|
|
5025
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
4937
5026
|
'text-halo-width'?: number | undefined;
|
|
4938
5027
|
'text-halo-blur'?: number | undefined;
|
|
4939
5028
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -4987,6 +5076,9 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
4987
5076
|
color: string;
|
|
4988
5077
|
shape?: "square" | "line" | "circle" | undefined;
|
|
4989
5078
|
}[];
|
|
5079
|
+
displayMode?: "categorical" | "gradient" | "simple" | undefined;
|
|
5080
|
+
showLabelsCollapsed?: boolean | undefined;
|
|
5081
|
+
gradientProperty?: string | undefined;
|
|
4990
5082
|
} | undefined;
|
|
4991
5083
|
filters?: {
|
|
4992
5084
|
datetime?: string | undefined;
|
|
@@ -5045,6 +5137,10 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
5045
5137
|
pitch?: number | undefined;
|
|
5046
5138
|
bearing?: number | undefined;
|
|
5047
5139
|
};
|
|
5140
|
+
sprites?: {
|
|
5141
|
+
id: string;
|
|
5142
|
+
url: string;
|
|
5143
|
+
}[] | undefined;
|
|
5048
5144
|
ui?: {
|
|
5049
5145
|
showLayerPanel?: boolean | undefined;
|
|
5050
5146
|
showLegend?: boolean | undefined;
|
|
@@ -5054,6 +5150,7 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
5054
5150
|
showFeatureDetail?: boolean | undefined;
|
|
5055
5151
|
showFeatureTooltip?: boolean | undefined;
|
|
5056
5152
|
showExportButton?: boolean | undefined;
|
|
5153
|
+
showLegendOpacity?: boolean | undefined;
|
|
5057
5154
|
} | undefined;
|
|
5058
5155
|
}, {
|
|
5059
5156
|
sources: {
|
|
@@ -5072,9 +5169,9 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
5072
5169
|
style?: {
|
|
5073
5170
|
type: "fill";
|
|
5074
5171
|
paint: {
|
|
5075
|
-
'fill-color': string;
|
|
5172
|
+
'fill-color': string | unknown[];
|
|
5076
5173
|
'fill-opacity': number;
|
|
5077
|
-
'fill-outline-color'?: string | undefined;
|
|
5174
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
5078
5175
|
'fill-antialias'?: boolean | undefined;
|
|
5079
5176
|
'fill-translate'?: [number, number] | undefined;
|
|
5080
5177
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -5087,7 +5184,7 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
5087
5184
|
} | {
|
|
5088
5185
|
type: "line";
|
|
5089
5186
|
paint: {
|
|
5090
|
-
'line-color': string;
|
|
5187
|
+
'line-color': string | unknown[];
|
|
5091
5188
|
'line-width': number;
|
|
5092
5189
|
'line-opacity': number;
|
|
5093
5190
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -5110,10 +5207,10 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
5110
5207
|
} | {
|
|
5111
5208
|
type: "circle";
|
|
5112
5209
|
paint: {
|
|
5113
|
-
'circle-color': string;
|
|
5210
|
+
'circle-color': string | unknown[];
|
|
5114
5211
|
'circle-radius': number;
|
|
5115
5212
|
'circle-opacity': number;
|
|
5116
|
-
'circle-stroke-color'?: string | undefined;
|
|
5213
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
5117
5214
|
'circle-stroke-width'?: number | undefined;
|
|
5118
5215
|
'circle-blur'?: number | undefined;
|
|
5119
5216
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -5130,15 +5227,15 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
5130
5227
|
type: "symbol";
|
|
5131
5228
|
paint: {
|
|
5132
5229
|
'icon-opacity'?: number | undefined;
|
|
5133
|
-
'icon-color'?: string | undefined;
|
|
5134
|
-
'icon-halo-color'?: string | undefined;
|
|
5230
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
5231
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
5135
5232
|
'icon-halo-width'?: number | undefined;
|
|
5136
5233
|
'icon-halo-blur'?: number | undefined;
|
|
5137
5234
|
'icon-translate'?: [number, number] | undefined;
|
|
5138
5235
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
5139
5236
|
'text-opacity'?: number | undefined;
|
|
5140
|
-
'text-color'?: string | undefined;
|
|
5141
|
-
'text-halo-color'?: string | undefined;
|
|
5237
|
+
'text-color'?: string | unknown[] | undefined;
|
|
5238
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
5142
5239
|
'text-halo-width'?: number | undefined;
|
|
5143
5240
|
'text-halo-blur'?: number | undefined;
|
|
5144
5241
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -5192,6 +5289,9 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
5192
5289
|
color: string;
|
|
5193
5290
|
shape?: "square" | "line" | "circle" | undefined;
|
|
5194
5291
|
}[];
|
|
5292
|
+
displayMode?: "categorical" | "gradient" | "simple" | undefined;
|
|
5293
|
+
showLabelsCollapsed?: boolean | undefined;
|
|
5294
|
+
gradientProperty?: string | undefined;
|
|
5195
5295
|
} | undefined;
|
|
5196
5296
|
filters?: {
|
|
5197
5297
|
datetime?: string | undefined;
|
|
@@ -5252,6 +5352,7 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
5252
5352
|
showFeatureDetail: boolean;
|
|
5253
5353
|
showFeatureTooltip: boolean;
|
|
5254
5354
|
showExportButton: boolean;
|
|
5355
|
+
showLegendOpacity: boolean;
|
|
5255
5356
|
};
|
|
5256
5357
|
initialView: {
|
|
5257
5358
|
latitude: number;
|
|
@@ -5260,5 +5361,9 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
5260
5361
|
pitch: number;
|
|
5261
5362
|
bearing: number;
|
|
5262
5363
|
};
|
|
5364
|
+
sprites?: {
|
|
5365
|
+
id: string;
|
|
5366
|
+
url: string;
|
|
5367
|
+
}[] | undefined;
|
|
5263
5368
|
}>;
|
|
5264
5369
|
//# sourceMappingURL=config.d.ts.map
|