@ogc-maps/storybook-components 0.6.0 → 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.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/StyleEditor/DataDrivenColorEditor.d.ts +9 -0
- package/dist/components/StyleEditor/DataDrivenColorEditor.d.ts.map +1 -0
- package/dist/components/StyleEditor/PropertyField.d.ts +4 -1
- package/dist/components/StyleEditor/PropertyField.d.ts.map +1 -1
- package/dist/components/StyleEditor/PropertyGroup.d.ts +4 -1
- package/dist/components/StyleEditor/PropertyGroup.d.ts.map +1 -1
- package/dist/components/StyleEditor/StyleEditor.d.ts +5 -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/UIConfigEditor/UIConfigEditor.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/{index-B2DIcC-4.js → index-B4i0zJXf.js} +330 -326
- package/dist/main.js +1803 -1242
- package/dist/schemas/config.d.ts +353 -288
- package/dist/schemas/config.d.ts.map +1 -1
- package/dist/schemas/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/index.js +1 -1
- 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 +2 -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/package.json +1 -1
- package/dist/Legend-TTWWpWDT.js +0 -97
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;
|
|
@@ -3021,6 +3045,7 @@ export declare const UIConfigSchema: z.ZodObject<{
|
|
|
3021
3045
|
showFeatureDetail: z.ZodDefault<z.ZodBoolean>;
|
|
3022
3046
|
showFeatureTooltip: z.ZodDefault<z.ZodBoolean>;
|
|
3023
3047
|
showExportButton: z.ZodDefault<z.ZodBoolean>;
|
|
3048
|
+
showLegendOpacity: z.ZodDefault<z.ZodBoolean>;
|
|
3024
3049
|
}, "strip", z.ZodTypeAny, {
|
|
3025
3050
|
showLayerPanel: boolean;
|
|
3026
3051
|
showLegend: boolean;
|
|
@@ -3030,6 +3055,7 @@ export declare const UIConfigSchema: z.ZodObject<{
|
|
|
3030
3055
|
showFeatureDetail: boolean;
|
|
3031
3056
|
showFeatureTooltip: boolean;
|
|
3032
3057
|
showExportButton: boolean;
|
|
3058
|
+
showLegendOpacity: boolean;
|
|
3033
3059
|
}, {
|
|
3034
3060
|
showLayerPanel?: boolean | undefined;
|
|
3035
3061
|
showLegend?: boolean | undefined;
|
|
@@ -3039,6 +3065,7 @@ export declare const UIConfigSchema: z.ZodObject<{
|
|
|
3039
3065
|
showFeatureDetail?: boolean | undefined;
|
|
3040
3066
|
showFeatureTooltip?: boolean | undefined;
|
|
3041
3067
|
showExportButton?: boolean | undefined;
|
|
3068
|
+
showLegendOpacity?: boolean | undefined;
|
|
3042
3069
|
}>;
|
|
3043
3070
|
export declare const MapConfigSchema: z.ZodObject<{
|
|
3044
3071
|
sources: z.ZodArray<z.ZodObject<{
|
|
@@ -3067,25 +3094,25 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3067
3094
|
style: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3068
3095
|
type: z.ZodLiteral<"fill">;
|
|
3069
3096
|
paint: z.ZodObject<{
|
|
3070
|
-
'fill-color': z.ZodDefault<z.ZodString
|
|
3097
|
+
'fill-color': z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
3071
3098
|
'fill-opacity': z.ZodDefault<z.ZodNumber>;
|
|
3072
|
-
'fill-outline-color': z.ZodOptional<z.ZodString
|
|
3099
|
+
'fill-outline-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
3073
3100
|
'fill-antialias': z.ZodOptional<z.ZodBoolean>;
|
|
3074
3101
|
'fill-translate': z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
3075
3102
|
'fill-translate-anchor': z.ZodOptional<z.ZodEnum<["map", "viewport"]>>;
|
|
3076
3103
|
'fill-pattern': z.ZodOptional<z.ZodString>;
|
|
3077
3104
|
}, "strip", z.ZodTypeAny, {
|
|
3078
|
-
'fill-color': string;
|
|
3105
|
+
'fill-color': string | unknown[];
|
|
3079
3106
|
'fill-opacity': number;
|
|
3080
|
-
'fill-outline-color'?: string | undefined;
|
|
3107
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
3081
3108
|
'fill-antialias'?: boolean | undefined;
|
|
3082
3109
|
'fill-translate'?: [number, number] | undefined;
|
|
3083
3110
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
3084
3111
|
'fill-pattern'?: string | undefined;
|
|
3085
3112
|
}, {
|
|
3086
|
-
'fill-color'?: string | undefined;
|
|
3113
|
+
'fill-color'?: string | unknown[] | undefined;
|
|
3087
3114
|
'fill-opacity'?: number | undefined;
|
|
3088
|
-
'fill-outline-color'?: string | undefined;
|
|
3115
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
3089
3116
|
'fill-antialias'?: boolean | undefined;
|
|
3090
3117
|
'fill-translate'?: [number, number] | undefined;
|
|
3091
3118
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -3104,9 +3131,9 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3104
3131
|
}, "strip", z.ZodTypeAny, {
|
|
3105
3132
|
type: "fill";
|
|
3106
3133
|
paint: {
|
|
3107
|
-
'fill-color': string;
|
|
3134
|
+
'fill-color': string | unknown[];
|
|
3108
3135
|
'fill-opacity': number;
|
|
3109
|
-
'fill-outline-color'?: string | undefined;
|
|
3136
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
3110
3137
|
'fill-antialias'?: boolean | undefined;
|
|
3111
3138
|
'fill-translate'?: [number, number] | undefined;
|
|
3112
3139
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -3119,9 +3146,9 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3119
3146
|
}, {
|
|
3120
3147
|
type: "fill";
|
|
3121
3148
|
paint: {
|
|
3122
|
-
'fill-color'?: string | undefined;
|
|
3149
|
+
'fill-color'?: string | unknown[] | undefined;
|
|
3123
3150
|
'fill-opacity'?: number | undefined;
|
|
3124
|
-
'fill-outline-color'?: string | undefined;
|
|
3151
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
3125
3152
|
'fill-antialias'?: boolean | undefined;
|
|
3126
3153
|
'fill-translate'?: [number, number] | undefined;
|
|
3127
3154
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -3134,7 +3161,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3134
3161
|
}>, z.ZodObject<{
|
|
3135
3162
|
type: z.ZodLiteral<"line">;
|
|
3136
3163
|
paint: z.ZodObject<{
|
|
3137
|
-
'line-color': z.ZodDefault<z.ZodString
|
|
3164
|
+
'line-color': z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
3138
3165
|
'line-width': z.ZodDefault<z.ZodNumber>;
|
|
3139
3166
|
'line-opacity': z.ZodDefault<z.ZodNumber>;
|
|
3140
3167
|
'line-dasharray': z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
@@ -3146,7 +3173,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3146
3173
|
'line-pattern': z.ZodOptional<z.ZodString>;
|
|
3147
3174
|
'line-gradient': z.ZodOptional<z.ZodString>;
|
|
3148
3175
|
}, "strip", z.ZodTypeAny, {
|
|
3149
|
-
'line-color': string;
|
|
3176
|
+
'line-color': string | unknown[];
|
|
3150
3177
|
'line-width': number;
|
|
3151
3178
|
'line-opacity': number;
|
|
3152
3179
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -3158,7 +3185,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3158
3185
|
'line-pattern'?: string | undefined;
|
|
3159
3186
|
'line-gradient'?: string | undefined;
|
|
3160
3187
|
}, {
|
|
3161
|
-
'line-color'?: string | undefined;
|
|
3188
|
+
'line-color'?: string | unknown[] | undefined;
|
|
3162
3189
|
'line-width'?: number | undefined;
|
|
3163
3190
|
'line-opacity'?: number | undefined;
|
|
3164
3191
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -3195,7 +3222,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3195
3222
|
}, "strip", z.ZodTypeAny, {
|
|
3196
3223
|
type: "line";
|
|
3197
3224
|
paint: {
|
|
3198
|
-
'line-color': string;
|
|
3225
|
+
'line-color': string | unknown[];
|
|
3199
3226
|
'line-width': number;
|
|
3200
3227
|
'line-opacity': number;
|
|
3201
3228
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -3218,7 +3245,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3218
3245
|
}, {
|
|
3219
3246
|
type: "line";
|
|
3220
3247
|
paint: {
|
|
3221
|
-
'line-color'?: string | undefined;
|
|
3248
|
+
'line-color'?: string | unknown[] | undefined;
|
|
3222
3249
|
'line-width'?: number | undefined;
|
|
3223
3250
|
'line-opacity'?: number | undefined;
|
|
3224
3251
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -3241,10 +3268,10 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3241
3268
|
}>, z.ZodObject<{
|
|
3242
3269
|
type: z.ZodLiteral<"circle">;
|
|
3243
3270
|
paint: z.ZodObject<{
|
|
3244
|
-
'circle-color': z.ZodDefault<z.ZodString
|
|
3271
|
+
'circle-color': z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
3245
3272
|
'circle-radius': z.ZodDefault<z.ZodNumber>;
|
|
3246
3273
|
'circle-opacity': z.ZodDefault<z.ZodNumber>;
|
|
3247
|
-
'circle-stroke-color': z.ZodOptional<z.ZodString
|
|
3274
|
+
'circle-stroke-color': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
3248
3275
|
'circle-stroke-width': z.ZodOptional<z.ZodNumber>;
|
|
3249
3276
|
'circle-blur': z.ZodOptional<z.ZodNumber>;
|
|
3250
3277
|
'circle-translate': z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
@@ -3253,10 +3280,10 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3253
3280
|
'circle-pitch-alignment': z.ZodOptional<z.ZodEnum<["map", "viewport"]>>;
|
|
3254
3281
|
'circle-stroke-opacity': z.ZodOptional<z.ZodNumber>;
|
|
3255
3282
|
}, "strip", z.ZodTypeAny, {
|
|
3256
|
-
'circle-color': string;
|
|
3283
|
+
'circle-color': string | unknown[];
|
|
3257
3284
|
'circle-radius': number;
|
|
3258
3285
|
'circle-opacity': number;
|
|
3259
|
-
'circle-stroke-color'?: string | undefined;
|
|
3286
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
3260
3287
|
'circle-stroke-width'?: number | undefined;
|
|
3261
3288
|
'circle-blur'?: number | undefined;
|
|
3262
3289
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -3265,10 +3292,10 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3265
3292
|
'circle-pitch-alignment'?: "map" | "viewport" | undefined;
|
|
3266
3293
|
'circle-stroke-opacity'?: number | undefined;
|
|
3267
3294
|
}, {
|
|
3268
|
-
'circle-color'?: string | undefined;
|
|
3295
|
+
'circle-color'?: string | unknown[] | undefined;
|
|
3269
3296
|
'circle-radius'?: number | undefined;
|
|
3270
3297
|
'circle-opacity'?: number | undefined;
|
|
3271
|
-
'circle-stroke-color'?: string | undefined;
|
|
3298
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
3272
3299
|
'circle-stroke-width'?: number | undefined;
|
|
3273
3300
|
'circle-blur'?: number | undefined;
|
|
3274
3301
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -3290,10 +3317,10 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3290
3317
|
}, "strip", z.ZodTypeAny, {
|
|
3291
3318
|
type: "circle";
|
|
3292
3319
|
paint: {
|
|
3293
|
-
'circle-color': string;
|
|
3320
|
+
'circle-color': string | unknown[];
|
|
3294
3321
|
'circle-radius': number;
|
|
3295
3322
|
'circle-opacity': number;
|
|
3296
|
-
'circle-stroke-color'?: string | undefined;
|
|
3323
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
3297
3324
|
'circle-stroke-width'?: number | undefined;
|
|
3298
3325
|
'circle-blur'?: number | undefined;
|
|
3299
3326
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -3309,10 +3336,10 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3309
3336
|
}, {
|
|
3310
3337
|
type: "circle";
|
|
3311
3338
|
paint: {
|
|
3312
|
-
'circle-color'?: string | undefined;
|
|
3339
|
+
'circle-color'?: string | unknown[] | undefined;
|
|
3313
3340
|
'circle-radius'?: number | undefined;
|
|
3314
3341
|
'circle-opacity'?: number | undefined;
|
|
3315
|
-
'circle-stroke-color'?: string | undefined;
|
|
3342
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
3316
3343
|
'circle-stroke-width'?: number | undefined;
|
|
3317
3344
|
'circle-blur'?: number | undefined;
|
|
3318
3345
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -3329,45 +3356,45 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3329
3356
|
type: z.ZodLiteral<"symbol">;
|
|
3330
3357
|
paint: z.ZodObject<{
|
|
3331
3358
|
'icon-opacity': z.ZodOptional<z.ZodNumber>;
|
|
3332
|
-
'icon-color': z.ZodOptional<z.ZodString
|
|
3333
|
-
'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">]>>;
|
|
3334
3361
|
'icon-halo-width': z.ZodOptional<z.ZodNumber>;
|
|
3335
3362
|
'icon-halo-blur': z.ZodOptional<z.ZodNumber>;
|
|
3336
3363
|
'icon-translate': z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
3337
3364
|
'icon-translate-anchor': z.ZodOptional<z.ZodEnum<["map", "viewport"]>>;
|
|
3338
3365
|
'text-opacity': z.ZodOptional<z.ZodNumber>;
|
|
3339
|
-
'text-color': z.ZodOptional<z.ZodString
|
|
3340
|
-
'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">]>>;
|
|
3341
3368
|
'text-halo-width': z.ZodOptional<z.ZodNumber>;
|
|
3342
3369
|
'text-halo-blur': z.ZodOptional<z.ZodNumber>;
|
|
3343
3370
|
'text-translate': z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
3344
3371
|
'text-translate-anchor': z.ZodOptional<z.ZodEnum<["map", "viewport"]>>;
|
|
3345
3372
|
}, "strip", z.ZodTypeAny, {
|
|
3346
3373
|
'icon-opacity'?: number | undefined;
|
|
3347
|
-
'icon-color'?: string | undefined;
|
|
3348
|
-
'icon-halo-color'?: string | undefined;
|
|
3374
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
3375
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
3349
3376
|
'icon-halo-width'?: number | undefined;
|
|
3350
3377
|
'icon-halo-blur'?: number | undefined;
|
|
3351
3378
|
'icon-translate'?: [number, number] | undefined;
|
|
3352
3379
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
3353
3380
|
'text-opacity'?: number | undefined;
|
|
3354
|
-
'text-color'?: string | undefined;
|
|
3355
|
-
'text-halo-color'?: string | undefined;
|
|
3381
|
+
'text-color'?: string | unknown[] | undefined;
|
|
3382
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
3356
3383
|
'text-halo-width'?: number | undefined;
|
|
3357
3384
|
'text-halo-blur'?: number | undefined;
|
|
3358
3385
|
'text-translate'?: [number, number] | undefined;
|
|
3359
3386
|
'text-translate-anchor'?: "map" | "viewport" | undefined;
|
|
3360
3387
|
}, {
|
|
3361
3388
|
'icon-opacity'?: number | undefined;
|
|
3362
|
-
'icon-color'?: string | undefined;
|
|
3363
|
-
'icon-halo-color'?: string | undefined;
|
|
3389
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
3390
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
3364
3391
|
'icon-halo-width'?: number | undefined;
|
|
3365
3392
|
'icon-halo-blur'?: number | undefined;
|
|
3366
3393
|
'icon-translate'?: [number, number] | undefined;
|
|
3367
3394
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
3368
3395
|
'text-opacity'?: number | undefined;
|
|
3369
|
-
'text-color'?: string | undefined;
|
|
3370
|
-
'text-halo-color'?: string | undefined;
|
|
3396
|
+
'text-color'?: string | unknown[] | undefined;
|
|
3397
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
3371
3398
|
'text-halo-width'?: number | undefined;
|
|
3372
3399
|
'text-halo-blur'?: number | undefined;
|
|
3373
3400
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -3498,15 +3525,15 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3498
3525
|
type: "symbol";
|
|
3499
3526
|
paint: {
|
|
3500
3527
|
'icon-opacity'?: number | undefined;
|
|
3501
|
-
'icon-color'?: string | undefined;
|
|
3502
|
-
'icon-halo-color'?: string | undefined;
|
|
3528
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
3529
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
3503
3530
|
'icon-halo-width'?: number | undefined;
|
|
3504
3531
|
'icon-halo-blur'?: number | undefined;
|
|
3505
3532
|
'icon-translate'?: [number, number] | undefined;
|
|
3506
3533
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
3507
3534
|
'text-opacity'?: number | undefined;
|
|
3508
|
-
'text-color'?: string | undefined;
|
|
3509
|
-
'text-halo-color'?: string | undefined;
|
|
3535
|
+
'text-color'?: string | unknown[] | undefined;
|
|
3536
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
3510
3537
|
'text-halo-width'?: number | undefined;
|
|
3511
3538
|
'text-halo-blur'?: number | undefined;
|
|
3512
3539
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -3557,15 +3584,15 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3557
3584
|
type: "symbol";
|
|
3558
3585
|
paint: {
|
|
3559
3586
|
'icon-opacity'?: number | undefined;
|
|
3560
|
-
'icon-color'?: string | undefined;
|
|
3561
|
-
'icon-halo-color'?: string | undefined;
|
|
3587
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
3588
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
3562
3589
|
'icon-halo-width'?: number | undefined;
|
|
3563
3590
|
'icon-halo-blur'?: number | undefined;
|
|
3564
3591
|
'icon-translate'?: [number, number] | undefined;
|
|
3565
3592
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
3566
3593
|
'text-opacity'?: number | undefined;
|
|
3567
|
-
'text-color'?: string | undefined;
|
|
3568
|
-
'text-halo-color'?: string | undefined;
|
|
3594
|
+
'text-color'?: string | unknown[] | undefined;
|
|
3595
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
3569
3596
|
'text-halo-width'?: number | undefined;
|
|
3570
3597
|
'text-halo-blur'?: number | undefined;
|
|
3571
3598
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -3627,18 +3654,27 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3627
3654
|
color: string;
|
|
3628
3655
|
shape?: "square" | "line" | "circle" | undefined;
|
|
3629
3656
|
}>, "many">;
|
|
3657
|
+
displayMode: z.ZodOptional<z.ZodEnum<["categorical", "gradient", "simple"]>>;
|
|
3658
|
+
showLabelsCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
3659
|
+
gradientProperty: z.ZodOptional<z.ZodString>;
|
|
3630
3660
|
}, "strip", z.ZodTypeAny, {
|
|
3631
3661
|
entries: {
|
|
3632
3662
|
label: string;
|
|
3633
3663
|
color: string;
|
|
3634
3664
|
shape?: "square" | "line" | "circle" | undefined;
|
|
3635
3665
|
}[];
|
|
3666
|
+
displayMode?: "categorical" | "gradient" | "simple" | undefined;
|
|
3667
|
+
showLabelsCollapsed?: boolean | undefined;
|
|
3668
|
+
gradientProperty?: string | undefined;
|
|
3636
3669
|
}, {
|
|
3637
3670
|
entries: {
|
|
3638
3671
|
label: string;
|
|
3639
3672
|
color: string;
|
|
3640
3673
|
shape?: "square" | "line" | "circle" | undefined;
|
|
3641
3674
|
}[];
|
|
3675
|
+
displayMode?: "categorical" | "gradient" | "simple" | undefined;
|
|
3676
|
+
showLabelsCollapsed?: boolean | undefined;
|
|
3677
|
+
gradientProperty?: string | undefined;
|
|
3642
3678
|
}>>;
|
|
3643
3679
|
filters: z.ZodOptional<z.ZodObject<{
|
|
3644
3680
|
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>>;
|
|
@@ -3835,9 +3871,9 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3835
3871
|
style?: {
|
|
3836
3872
|
type: "fill";
|
|
3837
3873
|
paint: {
|
|
3838
|
-
'fill-color': string;
|
|
3874
|
+
'fill-color': string | unknown[];
|
|
3839
3875
|
'fill-opacity': number;
|
|
3840
|
-
'fill-outline-color'?: string | undefined;
|
|
3876
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
3841
3877
|
'fill-antialias'?: boolean | undefined;
|
|
3842
3878
|
'fill-translate'?: [number, number] | undefined;
|
|
3843
3879
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -3850,7 +3886,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3850
3886
|
} | {
|
|
3851
3887
|
type: "line";
|
|
3852
3888
|
paint: {
|
|
3853
|
-
'line-color': string;
|
|
3889
|
+
'line-color': string | unknown[];
|
|
3854
3890
|
'line-width': number;
|
|
3855
3891
|
'line-opacity': number;
|
|
3856
3892
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -3873,10 +3909,10 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3873
3909
|
} | {
|
|
3874
3910
|
type: "circle";
|
|
3875
3911
|
paint: {
|
|
3876
|
-
'circle-color': string;
|
|
3912
|
+
'circle-color': string | unknown[];
|
|
3877
3913
|
'circle-radius': number;
|
|
3878
3914
|
'circle-opacity': number;
|
|
3879
|
-
'circle-stroke-color'?: string | undefined;
|
|
3915
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
3880
3916
|
'circle-stroke-width'?: number | undefined;
|
|
3881
3917
|
'circle-blur'?: number | undefined;
|
|
3882
3918
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -3893,15 +3929,15 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3893
3929
|
type: "symbol";
|
|
3894
3930
|
paint: {
|
|
3895
3931
|
'icon-opacity'?: number | undefined;
|
|
3896
|
-
'icon-color'?: string | undefined;
|
|
3897
|
-
'icon-halo-color'?: string | undefined;
|
|
3932
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
3933
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
3898
3934
|
'icon-halo-width'?: number | undefined;
|
|
3899
3935
|
'icon-halo-blur'?: number | undefined;
|
|
3900
3936
|
'icon-translate'?: [number, number] | undefined;
|
|
3901
3937
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
3902
3938
|
'text-opacity'?: number | undefined;
|
|
3903
|
-
'text-color'?: string | undefined;
|
|
3904
|
-
'text-halo-color'?: string | undefined;
|
|
3939
|
+
'text-color'?: string | unknown[] | undefined;
|
|
3940
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
3905
3941
|
'text-halo-width'?: number | undefined;
|
|
3906
3942
|
'text-halo-blur'?: number | undefined;
|
|
3907
3943
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -3955,6 +3991,9 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
3955
3991
|
color: string;
|
|
3956
3992
|
shape?: "square" | "line" | "circle" | undefined;
|
|
3957
3993
|
}[];
|
|
3994
|
+
displayMode?: "categorical" | "gradient" | "simple" | undefined;
|
|
3995
|
+
showLabelsCollapsed?: boolean | undefined;
|
|
3996
|
+
gradientProperty?: string | undefined;
|
|
3958
3997
|
} | undefined;
|
|
3959
3998
|
filters?: {
|
|
3960
3999
|
datetime?: string | undefined;
|
|
@@ -4009,9 +4048,9 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4009
4048
|
style?: {
|
|
4010
4049
|
type: "fill";
|
|
4011
4050
|
paint: {
|
|
4012
|
-
'fill-color'?: string | undefined;
|
|
4051
|
+
'fill-color'?: string | unknown[] | undefined;
|
|
4013
4052
|
'fill-opacity'?: number | undefined;
|
|
4014
|
-
'fill-outline-color'?: string | undefined;
|
|
4053
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
4015
4054
|
'fill-antialias'?: boolean | undefined;
|
|
4016
4055
|
'fill-translate'?: [number, number] | undefined;
|
|
4017
4056
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -4024,7 +4063,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4024
4063
|
} | {
|
|
4025
4064
|
type: "line";
|
|
4026
4065
|
paint: {
|
|
4027
|
-
'line-color'?: string | undefined;
|
|
4066
|
+
'line-color'?: string | unknown[] | undefined;
|
|
4028
4067
|
'line-width'?: number | undefined;
|
|
4029
4068
|
'line-opacity'?: number | undefined;
|
|
4030
4069
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -4047,10 +4086,10 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4047
4086
|
} | {
|
|
4048
4087
|
type: "circle";
|
|
4049
4088
|
paint: {
|
|
4050
|
-
'circle-color'?: string | undefined;
|
|
4089
|
+
'circle-color'?: string | unknown[] | undefined;
|
|
4051
4090
|
'circle-radius'?: number | undefined;
|
|
4052
4091
|
'circle-opacity'?: number | undefined;
|
|
4053
|
-
'circle-stroke-color'?: string | undefined;
|
|
4092
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
4054
4093
|
'circle-stroke-width'?: number | undefined;
|
|
4055
4094
|
'circle-blur'?: number | undefined;
|
|
4056
4095
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -4067,15 +4106,15 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4067
4106
|
type: "symbol";
|
|
4068
4107
|
paint: {
|
|
4069
4108
|
'icon-opacity'?: number | undefined;
|
|
4070
|
-
'icon-color'?: string | undefined;
|
|
4071
|
-
'icon-halo-color'?: string | undefined;
|
|
4109
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
4110
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
4072
4111
|
'icon-halo-width'?: number | undefined;
|
|
4073
4112
|
'icon-halo-blur'?: number | undefined;
|
|
4074
4113
|
'icon-translate'?: [number, number] | undefined;
|
|
4075
4114
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
4076
4115
|
'text-opacity'?: number | undefined;
|
|
4077
|
-
'text-color'?: string | undefined;
|
|
4078
|
-
'text-halo-color'?: string | undefined;
|
|
4116
|
+
'text-color'?: string | unknown[] | undefined;
|
|
4117
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
4079
4118
|
'text-halo-width'?: number | undefined;
|
|
4080
4119
|
'text-halo-blur'?: number | undefined;
|
|
4081
4120
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -4129,6 +4168,9 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4129
4168
|
color: string;
|
|
4130
4169
|
shape?: "square" | "line" | "circle" | undefined;
|
|
4131
4170
|
}[];
|
|
4171
|
+
displayMode?: "categorical" | "gradient" | "simple" | undefined;
|
|
4172
|
+
showLabelsCollapsed?: boolean | undefined;
|
|
4173
|
+
gradientProperty?: string | undefined;
|
|
4132
4174
|
} | undefined;
|
|
4133
4175
|
filters?: {
|
|
4134
4176
|
datetime?: string | undefined;
|
|
@@ -4209,6 +4251,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4209
4251
|
showFeatureDetail: z.ZodDefault<z.ZodBoolean>;
|
|
4210
4252
|
showFeatureTooltip: z.ZodDefault<z.ZodBoolean>;
|
|
4211
4253
|
showExportButton: z.ZodDefault<z.ZodBoolean>;
|
|
4254
|
+
showLegendOpacity: z.ZodDefault<z.ZodBoolean>;
|
|
4212
4255
|
}, "strip", z.ZodTypeAny, {
|
|
4213
4256
|
showLayerPanel: boolean;
|
|
4214
4257
|
showLegend: boolean;
|
|
@@ -4218,6 +4261,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4218
4261
|
showFeatureDetail: boolean;
|
|
4219
4262
|
showFeatureTooltip: boolean;
|
|
4220
4263
|
showExportButton: boolean;
|
|
4264
|
+
showLegendOpacity: boolean;
|
|
4221
4265
|
}, {
|
|
4222
4266
|
showLayerPanel?: boolean | undefined;
|
|
4223
4267
|
showLegend?: boolean | undefined;
|
|
@@ -4227,6 +4271,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4227
4271
|
showFeatureDetail?: boolean | undefined;
|
|
4228
4272
|
showFeatureTooltip?: boolean | undefined;
|
|
4229
4273
|
showExportButton?: boolean | undefined;
|
|
4274
|
+
showLegendOpacity?: boolean | undefined;
|
|
4230
4275
|
}>>;
|
|
4231
4276
|
initialView: z.ZodObject<{
|
|
4232
4277
|
latitude: z.ZodNumber;
|
|
@@ -4264,9 +4309,9 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4264
4309
|
style?: {
|
|
4265
4310
|
type: "fill";
|
|
4266
4311
|
paint: {
|
|
4267
|
-
'fill-color': string;
|
|
4312
|
+
'fill-color': string | unknown[];
|
|
4268
4313
|
'fill-opacity': number;
|
|
4269
|
-
'fill-outline-color'?: string | undefined;
|
|
4314
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
4270
4315
|
'fill-antialias'?: boolean | undefined;
|
|
4271
4316
|
'fill-translate'?: [number, number] | undefined;
|
|
4272
4317
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -4279,7 +4324,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4279
4324
|
} | {
|
|
4280
4325
|
type: "line";
|
|
4281
4326
|
paint: {
|
|
4282
|
-
'line-color': string;
|
|
4327
|
+
'line-color': string | unknown[];
|
|
4283
4328
|
'line-width': number;
|
|
4284
4329
|
'line-opacity': number;
|
|
4285
4330
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -4302,10 +4347,10 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4302
4347
|
} | {
|
|
4303
4348
|
type: "circle";
|
|
4304
4349
|
paint: {
|
|
4305
|
-
'circle-color': string;
|
|
4350
|
+
'circle-color': string | unknown[];
|
|
4306
4351
|
'circle-radius': number;
|
|
4307
4352
|
'circle-opacity': number;
|
|
4308
|
-
'circle-stroke-color'?: string | undefined;
|
|
4353
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
4309
4354
|
'circle-stroke-width'?: number | undefined;
|
|
4310
4355
|
'circle-blur'?: number | undefined;
|
|
4311
4356
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -4322,15 +4367,15 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4322
4367
|
type: "symbol";
|
|
4323
4368
|
paint: {
|
|
4324
4369
|
'icon-opacity'?: number | undefined;
|
|
4325
|
-
'icon-color'?: string | undefined;
|
|
4326
|
-
'icon-halo-color'?: string | undefined;
|
|
4370
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
4371
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
4327
4372
|
'icon-halo-width'?: number | undefined;
|
|
4328
4373
|
'icon-halo-blur'?: number | undefined;
|
|
4329
4374
|
'icon-translate'?: [number, number] | undefined;
|
|
4330
4375
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
4331
4376
|
'text-opacity'?: number | undefined;
|
|
4332
|
-
'text-color'?: string | undefined;
|
|
4333
|
-
'text-halo-color'?: string | undefined;
|
|
4377
|
+
'text-color'?: string | unknown[] | undefined;
|
|
4378
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
4334
4379
|
'text-halo-width'?: number | undefined;
|
|
4335
4380
|
'text-halo-blur'?: number | undefined;
|
|
4336
4381
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -4384,6 +4429,9 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4384
4429
|
color: string;
|
|
4385
4430
|
shape?: "square" | "line" | "circle" | undefined;
|
|
4386
4431
|
}[];
|
|
4432
|
+
displayMode?: "categorical" | "gradient" | "simple" | undefined;
|
|
4433
|
+
showLabelsCollapsed?: boolean | undefined;
|
|
4434
|
+
gradientProperty?: string | undefined;
|
|
4387
4435
|
} | undefined;
|
|
4388
4436
|
filters?: {
|
|
4389
4437
|
datetime?: string | undefined;
|
|
@@ -4444,6 +4492,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4444
4492
|
showFeatureDetail: boolean;
|
|
4445
4493
|
showFeatureTooltip: boolean;
|
|
4446
4494
|
showExportButton: boolean;
|
|
4495
|
+
showLegendOpacity: boolean;
|
|
4447
4496
|
};
|
|
4448
4497
|
initialView: {
|
|
4449
4498
|
latitude: number;
|
|
@@ -4473,9 +4522,9 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4473
4522
|
style?: {
|
|
4474
4523
|
type: "fill";
|
|
4475
4524
|
paint: {
|
|
4476
|
-
'fill-color'?: string | undefined;
|
|
4525
|
+
'fill-color'?: string | unknown[] | undefined;
|
|
4477
4526
|
'fill-opacity'?: number | undefined;
|
|
4478
|
-
'fill-outline-color'?: string | undefined;
|
|
4527
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
4479
4528
|
'fill-antialias'?: boolean | undefined;
|
|
4480
4529
|
'fill-translate'?: [number, number] | undefined;
|
|
4481
4530
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -4488,7 +4537,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4488
4537
|
} | {
|
|
4489
4538
|
type: "line";
|
|
4490
4539
|
paint: {
|
|
4491
|
-
'line-color'?: string | undefined;
|
|
4540
|
+
'line-color'?: string | unknown[] | undefined;
|
|
4492
4541
|
'line-width'?: number | undefined;
|
|
4493
4542
|
'line-opacity'?: number | undefined;
|
|
4494
4543
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -4511,10 +4560,10 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4511
4560
|
} | {
|
|
4512
4561
|
type: "circle";
|
|
4513
4562
|
paint: {
|
|
4514
|
-
'circle-color'?: string | undefined;
|
|
4563
|
+
'circle-color'?: string | unknown[] | undefined;
|
|
4515
4564
|
'circle-radius'?: number | undefined;
|
|
4516
4565
|
'circle-opacity'?: number | undefined;
|
|
4517
|
-
'circle-stroke-color'?: string | undefined;
|
|
4566
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
4518
4567
|
'circle-stroke-width'?: number | undefined;
|
|
4519
4568
|
'circle-blur'?: number | undefined;
|
|
4520
4569
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -4531,15 +4580,15 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4531
4580
|
type: "symbol";
|
|
4532
4581
|
paint: {
|
|
4533
4582
|
'icon-opacity'?: number | undefined;
|
|
4534
|
-
'icon-color'?: string | undefined;
|
|
4535
|
-
'icon-halo-color'?: string | undefined;
|
|
4583
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
4584
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
4536
4585
|
'icon-halo-width'?: number | undefined;
|
|
4537
4586
|
'icon-halo-blur'?: number | undefined;
|
|
4538
4587
|
'icon-translate'?: [number, number] | undefined;
|
|
4539
4588
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
4540
4589
|
'text-opacity'?: number | undefined;
|
|
4541
|
-
'text-color'?: string | undefined;
|
|
4542
|
-
'text-halo-color'?: string | undefined;
|
|
4590
|
+
'text-color'?: string | unknown[] | undefined;
|
|
4591
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
4543
4592
|
'text-halo-width'?: number | undefined;
|
|
4544
4593
|
'text-halo-blur'?: number | undefined;
|
|
4545
4594
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -4593,6 +4642,9 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4593
4642
|
color: string;
|
|
4594
4643
|
shape?: "square" | "line" | "circle" | undefined;
|
|
4595
4644
|
}[];
|
|
4645
|
+
displayMode?: "categorical" | "gradient" | "simple" | undefined;
|
|
4646
|
+
showLabelsCollapsed?: boolean | undefined;
|
|
4647
|
+
gradientProperty?: string | undefined;
|
|
4596
4648
|
} | undefined;
|
|
4597
4649
|
filters?: {
|
|
4598
4650
|
datetime?: string | undefined;
|
|
@@ -4664,6 +4716,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
4664
4716
|
showFeatureDetail?: boolean | undefined;
|
|
4665
4717
|
showFeatureTooltip?: boolean | undefined;
|
|
4666
4718
|
showExportButton?: boolean | undefined;
|
|
4719
|
+
showLegendOpacity?: boolean | undefined;
|
|
4667
4720
|
} | undefined;
|
|
4668
4721
|
}>;
|
|
4669
4722
|
/**
|
|
@@ -4686,9 +4739,9 @@ export declare function validateMapConfig(config: unknown): {
|
|
|
4686
4739
|
style?: {
|
|
4687
4740
|
type: "fill";
|
|
4688
4741
|
paint: {
|
|
4689
|
-
'fill-color': string;
|
|
4742
|
+
'fill-color': string | unknown[];
|
|
4690
4743
|
'fill-opacity': number;
|
|
4691
|
-
'fill-outline-color'?: string | undefined;
|
|
4744
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
4692
4745
|
'fill-antialias'?: boolean | undefined;
|
|
4693
4746
|
'fill-translate'?: [number, number] | undefined;
|
|
4694
4747
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -4701,7 +4754,7 @@ export declare function validateMapConfig(config: unknown): {
|
|
|
4701
4754
|
} | {
|
|
4702
4755
|
type: "line";
|
|
4703
4756
|
paint: {
|
|
4704
|
-
'line-color': string;
|
|
4757
|
+
'line-color': string | unknown[];
|
|
4705
4758
|
'line-width': number;
|
|
4706
4759
|
'line-opacity': number;
|
|
4707
4760
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -4724,10 +4777,10 @@ export declare function validateMapConfig(config: unknown): {
|
|
|
4724
4777
|
} | {
|
|
4725
4778
|
type: "circle";
|
|
4726
4779
|
paint: {
|
|
4727
|
-
'circle-color': string;
|
|
4780
|
+
'circle-color': string | unknown[];
|
|
4728
4781
|
'circle-radius': number;
|
|
4729
4782
|
'circle-opacity': number;
|
|
4730
|
-
'circle-stroke-color'?: string | undefined;
|
|
4783
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
4731
4784
|
'circle-stroke-width'?: number | undefined;
|
|
4732
4785
|
'circle-blur'?: number | undefined;
|
|
4733
4786
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -4744,15 +4797,15 @@ export declare function validateMapConfig(config: unknown): {
|
|
|
4744
4797
|
type: "symbol";
|
|
4745
4798
|
paint: {
|
|
4746
4799
|
'icon-opacity'?: number | undefined;
|
|
4747
|
-
'icon-color'?: string | undefined;
|
|
4748
|
-
'icon-halo-color'?: string | undefined;
|
|
4800
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
4801
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
4749
4802
|
'icon-halo-width'?: number | undefined;
|
|
4750
4803
|
'icon-halo-blur'?: number | undefined;
|
|
4751
4804
|
'icon-translate'?: [number, number] | undefined;
|
|
4752
4805
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
4753
4806
|
'text-opacity'?: number | undefined;
|
|
4754
|
-
'text-color'?: string | undefined;
|
|
4755
|
-
'text-halo-color'?: string | undefined;
|
|
4807
|
+
'text-color'?: string | unknown[] | undefined;
|
|
4808
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
4756
4809
|
'text-halo-width'?: number | undefined;
|
|
4757
4810
|
'text-halo-blur'?: number | undefined;
|
|
4758
4811
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -4806,6 +4859,9 @@ export declare function validateMapConfig(config: unknown): {
|
|
|
4806
4859
|
color: string;
|
|
4807
4860
|
shape?: "square" | "line" | "circle" | undefined;
|
|
4808
4861
|
}[];
|
|
4862
|
+
displayMode?: "categorical" | "gradient" | "simple" | undefined;
|
|
4863
|
+
showLabelsCollapsed?: boolean | undefined;
|
|
4864
|
+
gradientProperty?: string | undefined;
|
|
4809
4865
|
} | undefined;
|
|
4810
4866
|
filters?: {
|
|
4811
4867
|
datetime?: string | undefined;
|
|
@@ -4866,6 +4922,7 @@ export declare function validateMapConfig(config: unknown): {
|
|
|
4866
4922
|
showFeatureDetail: boolean;
|
|
4867
4923
|
showFeatureTooltip: boolean;
|
|
4868
4924
|
showExportButton: boolean;
|
|
4925
|
+
showLegendOpacity: boolean;
|
|
4869
4926
|
};
|
|
4870
4927
|
initialView: {
|
|
4871
4928
|
latitude: number;
|
|
@@ -4899,9 +4956,9 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
4899
4956
|
style?: {
|
|
4900
4957
|
type: "fill";
|
|
4901
4958
|
paint: {
|
|
4902
|
-
'fill-color'?: string | undefined;
|
|
4959
|
+
'fill-color'?: string | unknown[] | undefined;
|
|
4903
4960
|
'fill-opacity'?: number | undefined;
|
|
4904
|
-
'fill-outline-color'?: string | undefined;
|
|
4961
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
4905
4962
|
'fill-antialias'?: boolean | undefined;
|
|
4906
4963
|
'fill-translate'?: [number, number] | undefined;
|
|
4907
4964
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -4914,7 +4971,7 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
4914
4971
|
} | {
|
|
4915
4972
|
type: "line";
|
|
4916
4973
|
paint: {
|
|
4917
|
-
'line-color'?: string | undefined;
|
|
4974
|
+
'line-color'?: string | unknown[] | undefined;
|
|
4918
4975
|
'line-width'?: number | undefined;
|
|
4919
4976
|
'line-opacity'?: number | undefined;
|
|
4920
4977
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -4937,10 +4994,10 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
4937
4994
|
} | {
|
|
4938
4995
|
type: "circle";
|
|
4939
4996
|
paint: {
|
|
4940
|
-
'circle-color'?: string | undefined;
|
|
4997
|
+
'circle-color'?: string | unknown[] | undefined;
|
|
4941
4998
|
'circle-radius'?: number | undefined;
|
|
4942
4999
|
'circle-opacity'?: number | undefined;
|
|
4943
|
-
'circle-stroke-color'?: string | undefined;
|
|
5000
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
4944
5001
|
'circle-stroke-width'?: number | undefined;
|
|
4945
5002
|
'circle-blur'?: number | undefined;
|
|
4946
5003
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -4957,15 +5014,15 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
4957
5014
|
type: "symbol";
|
|
4958
5015
|
paint: {
|
|
4959
5016
|
'icon-opacity'?: number | undefined;
|
|
4960
|
-
'icon-color'?: string | undefined;
|
|
4961
|
-
'icon-halo-color'?: string | undefined;
|
|
5017
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
5018
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
4962
5019
|
'icon-halo-width'?: number | undefined;
|
|
4963
5020
|
'icon-halo-blur'?: number | undefined;
|
|
4964
5021
|
'icon-translate'?: [number, number] | undefined;
|
|
4965
5022
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
4966
5023
|
'text-opacity'?: number | undefined;
|
|
4967
|
-
'text-color'?: string | undefined;
|
|
4968
|
-
'text-halo-color'?: string | undefined;
|
|
5024
|
+
'text-color'?: string | unknown[] | undefined;
|
|
5025
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
4969
5026
|
'text-halo-width'?: number | undefined;
|
|
4970
5027
|
'text-halo-blur'?: number | undefined;
|
|
4971
5028
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -5019,6 +5076,9 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
5019
5076
|
color: string;
|
|
5020
5077
|
shape?: "square" | "line" | "circle" | undefined;
|
|
5021
5078
|
}[];
|
|
5079
|
+
displayMode?: "categorical" | "gradient" | "simple" | undefined;
|
|
5080
|
+
showLabelsCollapsed?: boolean | undefined;
|
|
5081
|
+
gradientProperty?: string | undefined;
|
|
5022
5082
|
} | undefined;
|
|
5023
5083
|
filters?: {
|
|
5024
5084
|
datetime?: string | undefined;
|
|
@@ -5090,6 +5150,7 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
5090
5150
|
showFeatureDetail?: boolean | undefined;
|
|
5091
5151
|
showFeatureTooltip?: boolean | undefined;
|
|
5092
5152
|
showExportButton?: boolean | undefined;
|
|
5153
|
+
showLegendOpacity?: boolean | undefined;
|
|
5093
5154
|
} | undefined;
|
|
5094
5155
|
}, {
|
|
5095
5156
|
sources: {
|
|
@@ -5108,9 +5169,9 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
5108
5169
|
style?: {
|
|
5109
5170
|
type: "fill";
|
|
5110
5171
|
paint: {
|
|
5111
|
-
'fill-color': string;
|
|
5172
|
+
'fill-color': string | unknown[];
|
|
5112
5173
|
'fill-opacity': number;
|
|
5113
|
-
'fill-outline-color'?: string | undefined;
|
|
5174
|
+
'fill-outline-color'?: string | unknown[] | undefined;
|
|
5114
5175
|
'fill-antialias'?: boolean | undefined;
|
|
5115
5176
|
'fill-translate'?: [number, number] | undefined;
|
|
5116
5177
|
'fill-translate-anchor'?: "map" | "viewport" | undefined;
|
|
@@ -5123,7 +5184,7 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
5123
5184
|
} | {
|
|
5124
5185
|
type: "line";
|
|
5125
5186
|
paint: {
|
|
5126
|
-
'line-color': string;
|
|
5187
|
+
'line-color': string | unknown[];
|
|
5127
5188
|
'line-width': number;
|
|
5128
5189
|
'line-opacity': number;
|
|
5129
5190
|
'line-dasharray'?: number[] | undefined;
|
|
@@ -5146,10 +5207,10 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
5146
5207
|
} | {
|
|
5147
5208
|
type: "circle";
|
|
5148
5209
|
paint: {
|
|
5149
|
-
'circle-color': string;
|
|
5210
|
+
'circle-color': string | unknown[];
|
|
5150
5211
|
'circle-radius': number;
|
|
5151
5212
|
'circle-opacity': number;
|
|
5152
|
-
'circle-stroke-color'?: string | undefined;
|
|
5213
|
+
'circle-stroke-color'?: string | unknown[] | undefined;
|
|
5153
5214
|
'circle-stroke-width'?: number | undefined;
|
|
5154
5215
|
'circle-blur'?: number | undefined;
|
|
5155
5216
|
'circle-translate'?: [number, number] | undefined;
|
|
@@ -5166,15 +5227,15 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
5166
5227
|
type: "symbol";
|
|
5167
5228
|
paint: {
|
|
5168
5229
|
'icon-opacity'?: number | undefined;
|
|
5169
|
-
'icon-color'?: string | undefined;
|
|
5170
|
-
'icon-halo-color'?: string | undefined;
|
|
5230
|
+
'icon-color'?: string | unknown[] | undefined;
|
|
5231
|
+
'icon-halo-color'?: string | unknown[] | undefined;
|
|
5171
5232
|
'icon-halo-width'?: number | undefined;
|
|
5172
5233
|
'icon-halo-blur'?: number | undefined;
|
|
5173
5234
|
'icon-translate'?: [number, number] | undefined;
|
|
5174
5235
|
'icon-translate-anchor'?: "map" | "viewport" | undefined;
|
|
5175
5236
|
'text-opacity'?: number | undefined;
|
|
5176
|
-
'text-color'?: string | undefined;
|
|
5177
|
-
'text-halo-color'?: string | undefined;
|
|
5237
|
+
'text-color'?: string | unknown[] | undefined;
|
|
5238
|
+
'text-halo-color'?: string | unknown[] | undefined;
|
|
5178
5239
|
'text-halo-width'?: number | undefined;
|
|
5179
5240
|
'text-halo-blur'?: number | undefined;
|
|
5180
5241
|
'text-translate'?: [number, number] | undefined;
|
|
@@ -5228,6 +5289,9 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
5228
5289
|
color: string;
|
|
5229
5290
|
shape?: "square" | "line" | "circle" | undefined;
|
|
5230
5291
|
}[];
|
|
5292
|
+
displayMode?: "categorical" | "gradient" | "simple" | undefined;
|
|
5293
|
+
showLabelsCollapsed?: boolean | undefined;
|
|
5294
|
+
gradientProperty?: string | undefined;
|
|
5231
5295
|
} | undefined;
|
|
5232
5296
|
filters?: {
|
|
5233
5297
|
datetime?: string | undefined;
|
|
@@ -5288,6 +5352,7 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
|
|
|
5288
5352
|
showFeatureDetail: boolean;
|
|
5289
5353
|
showFeatureTooltip: boolean;
|
|
5290
5354
|
showExportButton: boolean;
|
|
5355
|
+
showLegendOpacity: boolean;
|
|
5291
5356
|
};
|
|
5292
5357
|
initialView: {
|
|
5293
5358
|
latitude: number;
|