@ogc-maps/storybook-components 0.6.1 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ export declare const GeometryTypeSchema: z.ZodEnum<["Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"]>;
2
3
  export declare const ViewConfigSchema: z.ZodObject<{
3
4
  latitude: z.ZodNumber;
4
5
  longitude: z.ZodNumber;
@@ -379,6 +380,7 @@ export declare const FillStyleSchema: z.ZodObject<{
379
380
  'fill-sort-key'?: number | undefined;
380
381
  visibility?: "visible" | "none" | undefined;
381
382
  }>>;
383
+ geometryFilter: z.ZodOptional<z.ZodArray<z.ZodEnum<["Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"]>, "many">>;
382
384
  }, "strip", z.ZodTypeAny, {
383
385
  type: "fill";
384
386
  paint: {
@@ -394,6 +396,7 @@ export declare const FillStyleSchema: z.ZodObject<{
394
396
  'fill-sort-key'?: number | undefined;
395
397
  visibility?: "visible" | "none" | undefined;
396
398
  } | undefined;
399
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
397
400
  }, {
398
401
  type: "fill";
399
402
  paint: {
@@ -409,6 +412,7 @@ export declare const FillStyleSchema: z.ZodObject<{
409
412
  'fill-sort-key'?: number | undefined;
410
413
  visibility?: "visible" | "none" | undefined;
411
414
  } | undefined;
415
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
412
416
  }>;
413
417
  export declare const LineStyleSchema: z.ZodObject<{
414
418
  type: z.ZodLiteral<"line">;
@@ -471,6 +475,7 @@ export declare const LineStyleSchema: z.ZodObject<{
471
475
  'line-round-limit'?: number | undefined;
472
476
  'line-sort-key'?: number | undefined;
473
477
  }>>;
478
+ geometryFilter: z.ZodOptional<z.ZodArray<z.ZodEnum<["Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"]>, "many">>;
474
479
  }, "strip", z.ZodTypeAny, {
475
480
  type: "line";
476
481
  paint: {
@@ -494,6 +499,7 @@ export declare const LineStyleSchema: z.ZodObject<{
494
499
  'line-round-limit'?: number | undefined;
495
500
  'line-sort-key'?: number | undefined;
496
501
  } | undefined;
502
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
497
503
  }, {
498
504
  type: "line";
499
505
  paint: {
@@ -517,6 +523,7 @@ export declare const LineStyleSchema: z.ZodObject<{
517
523
  'line-round-limit'?: number | undefined;
518
524
  'line-sort-key'?: number | undefined;
519
525
  } | undefined;
526
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
520
527
  }>;
521
528
  export declare const CircleStyleSchema: z.ZodObject<{
522
529
  type: z.ZodLiteral<"circle">;
@@ -567,6 +574,7 @@ export declare const CircleStyleSchema: z.ZodObject<{
567
574
  visibility?: "visible" | "none" | undefined;
568
575
  'circle-sort-key'?: number | undefined;
569
576
  }>>;
577
+ geometryFilter: z.ZodOptional<z.ZodArray<z.ZodEnum<["Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"]>, "many">>;
570
578
  }, "strip", z.ZodTypeAny, {
571
579
  type: "circle";
572
580
  paint: {
@@ -586,6 +594,7 @@ export declare const CircleStyleSchema: z.ZodObject<{
586
594
  visibility?: "visible" | "none" | undefined;
587
595
  'circle-sort-key'?: number | undefined;
588
596
  } | undefined;
597
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
589
598
  }, {
590
599
  type: "circle";
591
600
  paint: {
@@ -605,6 +614,7 @@ export declare const CircleStyleSchema: z.ZodObject<{
605
614
  visibility?: "visible" | "none" | undefined;
606
615
  'circle-sort-key'?: number | undefined;
607
616
  } | undefined;
617
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
608
618
  }>;
609
619
  export declare const SymbolStyleSchema: z.ZodObject<{
610
620
  type: z.ZodLiteral<"symbol">;
@@ -775,6 +785,7 @@ export declare const SymbolStyleSchema: z.ZodObject<{
775
785
  'text-ignore-placement'?: boolean | undefined;
776
786
  'text-optional'?: boolean | undefined;
777
787
  }>>;
788
+ geometryFilter: z.ZodOptional<z.ZodArray<z.ZodEnum<["Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"]>, "many">>;
778
789
  }, "strip", z.ZodTypeAny, {
779
790
  type: "symbol";
780
791
  paint: {
@@ -834,6 +845,7 @@ export declare const SymbolStyleSchema: z.ZodObject<{
834
845
  'text-ignore-placement'?: boolean | undefined;
835
846
  'text-optional'?: boolean | undefined;
836
847
  } | undefined;
848
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
837
849
  }, {
838
850
  type: "symbol";
839
851
  paint: {
@@ -893,6 +905,7 @@ export declare const SymbolStyleSchema: z.ZodObject<{
893
905
  'text-ignore-placement'?: boolean | undefined;
894
906
  'text-optional'?: boolean | undefined;
895
907
  } | undefined;
908
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
896
909
  }>;
897
910
  export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
898
911
  type: z.ZodLiteral<"fill">;
@@ -931,6 +944,7 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
931
944
  'fill-sort-key'?: number | undefined;
932
945
  visibility?: "visible" | "none" | undefined;
933
946
  }>>;
947
+ geometryFilter: z.ZodOptional<z.ZodArray<z.ZodEnum<["Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"]>, "many">>;
934
948
  }, "strip", z.ZodTypeAny, {
935
949
  type: "fill";
936
950
  paint: {
@@ -946,6 +960,7 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
946
960
  'fill-sort-key'?: number | undefined;
947
961
  visibility?: "visible" | "none" | undefined;
948
962
  } | undefined;
963
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
949
964
  }, {
950
965
  type: "fill";
951
966
  paint: {
@@ -961,6 +976,7 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
961
976
  'fill-sort-key'?: number | undefined;
962
977
  visibility?: "visible" | "none" | undefined;
963
978
  } | undefined;
979
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
964
980
  }>, z.ZodObject<{
965
981
  type: z.ZodLiteral<"line">;
966
982
  paint: z.ZodObject<{
@@ -1022,6 +1038,7 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1022
1038
  'line-round-limit'?: number | undefined;
1023
1039
  'line-sort-key'?: number | undefined;
1024
1040
  }>>;
1041
+ geometryFilter: z.ZodOptional<z.ZodArray<z.ZodEnum<["Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"]>, "many">>;
1025
1042
  }, "strip", z.ZodTypeAny, {
1026
1043
  type: "line";
1027
1044
  paint: {
@@ -1045,6 +1062,7 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1045
1062
  'line-round-limit'?: number | undefined;
1046
1063
  'line-sort-key'?: number | undefined;
1047
1064
  } | undefined;
1065
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
1048
1066
  }, {
1049
1067
  type: "line";
1050
1068
  paint: {
@@ -1068,6 +1086,7 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1068
1086
  'line-round-limit'?: number | undefined;
1069
1087
  'line-sort-key'?: number | undefined;
1070
1088
  } | undefined;
1089
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
1071
1090
  }>, z.ZodObject<{
1072
1091
  type: z.ZodLiteral<"circle">;
1073
1092
  paint: z.ZodObject<{
@@ -1117,6 +1136,7 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1117
1136
  visibility?: "visible" | "none" | undefined;
1118
1137
  'circle-sort-key'?: number | undefined;
1119
1138
  }>>;
1139
+ geometryFilter: z.ZodOptional<z.ZodArray<z.ZodEnum<["Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"]>, "many">>;
1120
1140
  }, "strip", z.ZodTypeAny, {
1121
1141
  type: "circle";
1122
1142
  paint: {
@@ -1136,6 +1156,7 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1136
1156
  visibility?: "visible" | "none" | undefined;
1137
1157
  'circle-sort-key'?: number | undefined;
1138
1158
  } | undefined;
1159
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
1139
1160
  }, {
1140
1161
  type: "circle";
1141
1162
  paint: {
@@ -1155,6 +1176,7 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1155
1176
  visibility?: "visible" | "none" | undefined;
1156
1177
  'circle-sort-key'?: number | undefined;
1157
1178
  } | undefined;
1179
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
1158
1180
  }>, z.ZodObject<{
1159
1181
  type: z.ZodLiteral<"symbol">;
1160
1182
  paint: z.ZodObject<{
@@ -1324,6 +1346,7 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1324
1346
  'text-ignore-placement'?: boolean | undefined;
1325
1347
  'text-optional'?: boolean | undefined;
1326
1348
  }>>;
1349
+ geometryFilter: z.ZodOptional<z.ZodArray<z.ZodEnum<["Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"]>, "many">>;
1327
1350
  }, "strip", z.ZodTypeAny, {
1328
1351
  type: "symbol";
1329
1352
  paint: {
@@ -1383,6 +1406,7 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1383
1406
  'text-ignore-placement'?: boolean | undefined;
1384
1407
  'text-optional'?: boolean | undefined;
1385
1408
  } | undefined;
1409
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
1386
1410
  }, {
1387
1411
  type: "symbol";
1388
1412
  paint: {
@@ -1442,6 +1466,7 @@ export declare const StyleConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1442
1466
  'text-ignore-placement'?: boolean | undefined;
1443
1467
  'text-optional'?: boolean | undefined;
1444
1468
  } | undefined;
1469
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
1445
1470
  }>]>;
1446
1471
  export declare const LegendEntrySchema: z.ZodObject<{
1447
1472
  label: z.ZodString;
@@ -1878,14 +1903,14 @@ export declare const FilterConfigSchema: z.ZodObject<{
1878
1903
  properties?: Record<string, string | number | boolean | string[]> | undefined;
1879
1904
  bbox?: [number, number, number, number] | undefined;
1880
1905
  }>;
1881
- export declare const LayerConfigSchema: z.ZodObject<{
1906
+ export declare const LayerConfigSchema: z.ZodEffects<z.ZodObject<{
1882
1907
  id: z.ZodString;
1883
1908
  sourceId: z.ZodString;
1884
1909
  collection: z.ZodString;
1885
1910
  label: z.ZodString;
1886
1911
  visible: z.ZodDefault<z.ZodBoolean>;
1887
1912
  dataMode: z.ZodEnum<["vector-tiles", "geojson"]>;
1888
- style: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1913
+ styles: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1889
1914
  type: z.ZodLiteral<"fill">;
1890
1915
  paint: z.ZodObject<{
1891
1916
  'fill-color': z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
@@ -1922,6 +1947,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
1922
1947
  'fill-sort-key'?: number | undefined;
1923
1948
  visibility?: "visible" | "none" | undefined;
1924
1949
  }>>;
1950
+ geometryFilter: z.ZodOptional<z.ZodArray<z.ZodEnum<["Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"]>, "many">>;
1925
1951
  }, "strip", z.ZodTypeAny, {
1926
1952
  type: "fill";
1927
1953
  paint: {
@@ -1937,6 +1963,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
1937
1963
  'fill-sort-key'?: number | undefined;
1938
1964
  visibility?: "visible" | "none" | undefined;
1939
1965
  } | undefined;
1966
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
1940
1967
  }, {
1941
1968
  type: "fill";
1942
1969
  paint: {
@@ -1952,6 +1979,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
1952
1979
  'fill-sort-key'?: number | undefined;
1953
1980
  visibility?: "visible" | "none" | undefined;
1954
1981
  } | undefined;
1982
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
1955
1983
  }>, z.ZodObject<{
1956
1984
  type: z.ZodLiteral<"line">;
1957
1985
  paint: z.ZodObject<{
@@ -2013,6 +2041,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
2013
2041
  'line-round-limit'?: number | undefined;
2014
2042
  'line-sort-key'?: number | undefined;
2015
2043
  }>>;
2044
+ geometryFilter: z.ZodOptional<z.ZodArray<z.ZodEnum<["Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"]>, "many">>;
2016
2045
  }, "strip", z.ZodTypeAny, {
2017
2046
  type: "line";
2018
2047
  paint: {
@@ -2036,6 +2065,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
2036
2065
  'line-round-limit'?: number | undefined;
2037
2066
  'line-sort-key'?: number | undefined;
2038
2067
  } | undefined;
2068
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
2039
2069
  }, {
2040
2070
  type: "line";
2041
2071
  paint: {
@@ -2059,6 +2089,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
2059
2089
  'line-round-limit'?: number | undefined;
2060
2090
  'line-sort-key'?: number | undefined;
2061
2091
  } | undefined;
2092
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
2062
2093
  }>, z.ZodObject<{
2063
2094
  type: z.ZodLiteral<"circle">;
2064
2095
  paint: z.ZodObject<{
@@ -2108,6 +2139,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
2108
2139
  visibility?: "visible" | "none" | undefined;
2109
2140
  'circle-sort-key'?: number | undefined;
2110
2141
  }>>;
2142
+ geometryFilter: z.ZodOptional<z.ZodArray<z.ZodEnum<["Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"]>, "many">>;
2111
2143
  }, "strip", z.ZodTypeAny, {
2112
2144
  type: "circle";
2113
2145
  paint: {
@@ -2127,6 +2159,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
2127
2159
  visibility?: "visible" | "none" | undefined;
2128
2160
  'circle-sort-key'?: number | undefined;
2129
2161
  } | undefined;
2162
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
2130
2163
  }, {
2131
2164
  type: "circle";
2132
2165
  paint: {
@@ -2146,6 +2179,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
2146
2179
  visibility?: "visible" | "none" | undefined;
2147
2180
  'circle-sort-key'?: number | undefined;
2148
2181
  } | undefined;
2182
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
2149
2183
  }>, z.ZodObject<{
2150
2184
  type: z.ZodLiteral<"symbol">;
2151
2185
  paint: z.ZodObject<{
@@ -2315,6 +2349,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
2315
2349
  'text-ignore-placement'?: boolean | undefined;
2316
2350
  'text-optional'?: boolean | undefined;
2317
2351
  }>>;
2352
+ geometryFilter: z.ZodOptional<z.ZodArray<z.ZodEnum<["Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"]>, "many">>;
2318
2353
  }, "strip", z.ZodTypeAny, {
2319
2354
  type: "symbol";
2320
2355
  paint: {
@@ -2374,6 +2409,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
2374
2409
  'text-ignore-placement'?: boolean | undefined;
2375
2410
  'text-optional'?: boolean | undefined;
2376
2411
  } | undefined;
2412
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
2377
2413
  }, {
2378
2414
  type: "symbol";
2379
2415
  paint: {
@@ -2433,7 +2469,8 @@ export declare const LayerConfigSchema: z.ZodObject<{
2433
2469
  'text-ignore-placement'?: boolean | undefined;
2434
2470
  'text-optional'?: boolean | undefined;
2435
2471
  } | undefined;
2436
- }>]>>;
2472
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
2473
+ }>]>, "many">>;
2437
2474
  legend: z.ZodOptional<z.ZodObject<{
2438
2475
  entries: z.ZodArray<z.ZodObject<{
2439
2476
  label: z.ZodString;
@@ -2662,7 +2699,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
2662
2699
  sourceId: string;
2663
2700
  collection: string;
2664
2701
  dataMode: "vector-tiles" | "geojson";
2665
- style?: {
2702
+ styles?: ({
2666
2703
  type: "fill";
2667
2704
  paint: {
2668
2705
  'fill-color': string | unknown[];
@@ -2677,6 +2714,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
2677
2714
  'fill-sort-key'?: number | undefined;
2678
2715
  visibility?: "visible" | "none" | undefined;
2679
2716
  } | undefined;
2717
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
2680
2718
  } | {
2681
2719
  type: "line";
2682
2720
  paint: {
@@ -2700,6 +2738,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
2700
2738
  'line-round-limit'?: number | undefined;
2701
2739
  'line-sort-key'?: number | undefined;
2702
2740
  } | undefined;
2741
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
2703
2742
  } | {
2704
2743
  type: "circle";
2705
2744
  paint: {
@@ -2719,6 +2758,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
2719
2758
  visibility?: "visible" | "none" | undefined;
2720
2759
  'circle-sort-key'?: number | undefined;
2721
2760
  } | undefined;
2761
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
2722
2762
  } | {
2723
2763
  type: "symbol";
2724
2764
  paint: {
@@ -2778,7 +2818,8 @@ export declare const LayerConfigSchema: z.ZodObject<{
2778
2818
  'text-ignore-placement'?: boolean | undefined;
2779
2819
  'text-optional'?: boolean | undefined;
2780
2820
  } | undefined;
2781
- } | undefined;
2821
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
2822
+ })[] | undefined;
2782
2823
  legend?: {
2783
2824
  entries: {
2784
2825
  label: string;
@@ -2839,7 +2880,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
2839
2880
  collection: string;
2840
2881
  dataMode: "vector-tiles" | "geojson";
2841
2882
  visible?: boolean | undefined;
2842
- style?: {
2883
+ styles?: ({
2843
2884
  type: "fill";
2844
2885
  paint: {
2845
2886
  'fill-color'?: string | unknown[] | undefined;
@@ -2854,6 +2895,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
2854
2895
  'fill-sort-key'?: number | undefined;
2855
2896
  visibility?: "visible" | "none" | undefined;
2856
2897
  } | undefined;
2898
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
2857
2899
  } | {
2858
2900
  type: "line";
2859
2901
  paint: {
@@ -2877,6 +2919,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
2877
2919
  'line-round-limit'?: number | undefined;
2878
2920
  'line-sort-key'?: number | undefined;
2879
2921
  } | undefined;
2922
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
2880
2923
  } | {
2881
2924
  type: "circle";
2882
2925
  paint: {
@@ -2896,6 +2939,7 @@ export declare const LayerConfigSchema: z.ZodObject<{
2896
2939
  visibility?: "visible" | "none" | undefined;
2897
2940
  'circle-sort-key'?: number | undefined;
2898
2941
  } | undefined;
2942
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
2899
2943
  } | {
2900
2944
  type: "symbol";
2901
2945
  paint: {
@@ -2955,7 +2999,8 @@ export declare const LayerConfigSchema: z.ZodObject<{
2955
2999
  'text-ignore-placement'?: boolean | undefined;
2956
3000
  'text-optional'?: boolean | undefined;
2957
3001
  } | undefined;
2958
- } | undefined;
3002
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
3003
+ })[] | undefined;
2959
3004
  legend?: {
2960
3005
  entries: {
2961
3006
  label: string;
@@ -3009,7 +3054,188 @@ export declare const LayerConfigSchema: z.ZodObject<{
3009
3054
  label?: string | undefined;
3010
3055
  visible?: boolean | undefined;
3011
3056
  }> | undefined;
3012
- }>;
3057
+ }>, {
3058
+ id: string;
3059
+ label: string;
3060
+ visible: boolean;
3061
+ sourceId: string;
3062
+ collection: string;
3063
+ dataMode: "vector-tiles" | "geojson";
3064
+ styles?: ({
3065
+ type: "fill";
3066
+ paint: {
3067
+ 'fill-color': string | unknown[];
3068
+ 'fill-opacity': number;
3069
+ 'fill-outline-color'?: string | unknown[] | undefined;
3070
+ 'fill-antialias'?: boolean | undefined;
3071
+ 'fill-translate'?: [number, number] | undefined;
3072
+ 'fill-translate-anchor'?: "map" | "viewport" | undefined;
3073
+ 'fill-pattern'?: string | undefined;
3074
+ };
3075
+ layout?: {
3076
+ 'fill-sort-key'?: number | undefined;
3077
+ visibility?: "visible" | "none" | undefined;
3078
+ } | undefined;
3079
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
3080
+ } | {
3081
+ type: "line";
3082
+ paint: {
3083
+ 'line-color': string | unknown[];
3084
+ 'line-width': number;
3085
+ 'line-opacity': number;
3086
+ 'line-dasharray'?: number[] | undefined;
3087
+ 'line-translate'?: [number, number] | undefined;
3088
+ 'line-translate-anchor'?: "map" | "viewport" | undefined;
3089
+ 'line-gap-width'?: number | undefined;
3090
+ 'line-offset'?: number | undefined;
3091
+ 'line-blur'?: number | undefined;
3092
+ 'line-pattern'?: string | undefined;
3093
+ 'line-gradient'?: string | undefined;
3094
+ };
3095
+ layout?: {
3096
+ visibility?: "visible" | "none" | undefined;
3097
+ 'line-cap'?: "butt" | "round" | "square" | undefined;
3098
+ 'line-join'?: "round" | "bevel" | "miter" | undefined;
3099
+ 'line-miter-limit'?: number | undefined;
3100
+ 'line-round-limit'?: number | undefined;
3101
+ 'line-sort-key'?: number | undefined;
3102
+ } | undefined;
3103
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
3104
+ } | {
3105
+ type: "circle";
3106
+ paint: {
3107
+ 'circle-color': string | unknown[];
3108
+ 'circle-radius': number;
3109
+ 'circle-opacity': number;
3110
+ 'circle-stroke-color'?: string | unknown[] | undefined;
3111
+ 'circle-stroke-width'?: number | undefined;
3112
+ 'circle-blur'?: number | undefined;
3113
+ 'circle-translate'?: [number, number] | undefined;
3114
+ 'circle-translate-anchor'?: "map" | "viewport" | undefined;
3115
+ 'circle-pitch-scale'?: "map" | "viewport" | undefined;
3116
+ 'circle-pitch-alignment'?: "map" | "viewport" | undefined;
3117
+ 'circle-stroke-opacity'?: number | undefined;
3118
+ };
3119
+ layout?: {
3120
+ visibility?: "visible" | "none" | undefined;
3121
+ 'circle-sort-key'?: number | undefined;
3122
+ } | undefined;
3123
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
3124
+ } | {
3125
+ type: "symbol";
3126
+ paint: {
3127
+ 'icon-opacity'?: number | undefined;
3128
+ 'icon-color'?: string | unknown[] | undefined;
3129
+ 'icon-halo-color'?: string | unknown[] | undefined;
3130
+ 'icon-halo-width'?: number | undefined;
3131
+ 'icon-halo-blur'?: number | undefined;
3132
+ 'icon-translate'?: [number, number] | undefined;
3133
+ 'icon-translate-anchor'?: "map" | "viewport" | undefined;
3134
+ 'text-opacity'?: number | undefined;
3135
+ 'text-color'?: string | unknown[] | undefined;
3136
+ 'text-halo-color'?: string | unknown[] | undefined;
3137
+ 'text-halo-width'?: number | undefined;
3138
+ 'text-halo-blur'?: number | undefined;
3139
+ 'text-translate'?: [number, number] | undefined;
3140
+ 'text-translate-anchor'?: "map" | "viewport" | undefined;
3141
+ };
3142
+ layout?: {
3143
+ visibility?: "visible" | "none" | undefined;
3144
+ 'symbol-placement'?: "point" | "line" | "line-center" | undefined;
3145
+ 'symbol-spacing'?: number | undefined;
3146
+ 'symbol-avoid-edges'?: boolean | undefined;
3147
+ 'symbol-sort-key'?: number | undefined;
3148
+ 'symbol-z-order'?: "auto" | "viewport-y" | "source" | undefined;
3149
+ 'icon-allow-overlap'?: boolean | undefined;
3150
+ 'icon-ignore-placement'?: boolean | undefined;
3151
+ 'icon-optional'?: boolean | undefined;
3152
+ 'icon-rotation-alignment'?: "map" | "viewport" | "auto" | undefined;
3153
+ 'icon-size'?: number | undefined;
3154
+ 'icon-text-fit'?: "none" | "width" | "height" | "both" | undefined;
3155
+ 'icon-text-fit-padding'?: [number, number, number, number] | undefined;
3156
+ 'icon-image'?: string | undefined;
3157
+ 'icon-rotate'?: number | undefined;
3158
+ 'icon-padding'?: number | undefined;
3159
+ 'icon-keep-upright'?: boolean | undefined;
3160
+ 'icon-offset'?: [number, number] | undefined;
3161
+ 'icon-anchor'?: "center" | "left" | "right" | "top" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
3162
+ 'icon-pitch-alignment'?: "map" | "viewport" | "auto" | undefined;
3163
+ 'text-pitch-alignment'?: "map" | "viewport" | "auto" | undefined;
3164
+ 'text-rotation-alignment'?: "map" | "viewport" | "auto" | "viewport-glyph" | undefined;
3165
+ 'text-field'?: string | undefined;
3166
+ 'text-font'?: string[] | undefined;
3167
+ 'text-size'?: number | undefined;
3168
+ 'text-max-width'?: number | undefined;
3169
+ 'text-line-height'?: number | undefined;
3170
+ 'text-letter-spacing'?: number | undefined;
3171
+ 'text-justify'?: "auto" | "center" | "left" | "right" | undefined;
3172
+ 'text-anchor'?: "center" | "left" | "right" | "top" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
3173
+ 'text-max-angle'?: number | undefined;
3174
+ 'text-rotate'?: number | undefined;
3175
+ 'text-padding'?: number | undefined;
3176
+ 'text-keep-upright'?: boolean | undefined;
3177
+ 'text-transform'?: "none" | "uppercase" | "lowercase" | undefined;
3178
+ 'text-offset'?: [number, number] | undefined;
3179
+ 'text-allow-overlap'?: boolean | undefined;
3180
+ 'text-ignore-placement'?: boolean | undefined;
3181
+ 'text-optional'?: boolean | undefined;
3182
+ } | undefined;
3183
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
3184
+ })[] | undefined;
3185
+ legend?: {
3186
+ entries: {
3187
+ label: string;
3188
+ color: string;
3189
+ shape?: "square" | "line" | "circle" | undefined;
3190
+ }[];
3191
+ displayMode?: "categorical" | "gradient" | "simple" | undefined;
3192
+ showLabelsCollapsed?: boolean | undefined;
3193
+ gradientProperty?: string | undefined;
3194
+ } | undefined;
3195
+ filters?: {
3196
+ datetime?: string | undefined;
3197
+ properties?: Record<string, string | number | boolean | string[]> | undefined;
3198
+ bbox?: [number, number, number, number] | undefined;
3199
+ } | undefined;
3200
+ search?: {
3201
+ fields: ({
3202
+ type: "text";
3203
+ label: string;
3204
+ autocomplete: boolean;
3205
+ property: string;
3206
+ options?: string[] | undefined;
3207
+ prefetch?: boolean | undefined;
3208
+ placeholder?: string | undefined;
3209
+ } | {
3210
+ type: "number";
3211
+ label: string;
3212
+ property: string;
3213
+ inputMode: "input" | "slider";
3214
+ operator: "eq" | "gt" | "lt" | "gte" | "lte" | "between";
3215
+ placeholder?: string | undefined;
3216
+ min?: number | undefined;
3217
+ max?: number | undefined;
3218
+ step?: number | undefined;
3219
+ } | {
3220
+ type: "datetime";
3221
+ label: string;
3222
+ property: string;
3223
+ range: boolean;
3224
+ placeholder?: string | undefined;
3225
+ } | {
3226
+ type: "select";
3227
+ label: string;
3228
+ property: string;
3229
+ options?: string[] | undefined;
3230
+ prefetch?: boolean | undefined;
3231
+ placeholder?: string | undefined;
3232
+ })[];
3233
+ } | undefined;
3234
+ propertyDisplay?: Record<string, {
3235
+ visible: boolean;
3236
+ label?: string | undefined;
3237
+ }> | undefined;
3238
+ }, unknown>;
3013
3239
  export declare const BasemapConfigSchema: z.ZodObject<{
3014
3240
  id: z.ZodString;
3015
3241
  label: z.ZodString;
@@ -3084,14 +3310,14 @@ export declare const MapConfigSchema: z.ZodObject<{
3084
3310
  label?: string | undefined;
3085
3311
  tileMatrixSetId?: string | undefined;
3086
3312
  }>, "many">;
3087
- layers: z.ZodArray<z.ZodObject<{
3313
+ layers: z.ZodArray<z.ZodEffects<z.ZodObject<{
3088
3314
  id: z.ZodString;
3089
3315
  sourceId: z.ZodString;
3090
3316
  collection: z.ZodString;
3091
3317
  label: z.ZodString;
3092
3318
  visible: z.ZodDefault<z.ZodBoolean>;
3093
3319
  dataMode: z.ZodEnum<["vector-tiles", "geojson"]>;
3094
- style: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3320
+ styles: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3095
3321
  type: z.ZodLiteral<"fill">;
3096
3322
  paint: z.ZodObject<{
3097
3323
  'fill-color': z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
@@ -3128,6 +3354,7 @@ export declare const MapConfigSchema: z.ZodObject<{
3128
3354
  'fill-sort-key'?: number | undefined;
3129
3355
  visibility?: "visible" | "none" | undefined;
3130
3356
  }>>;
3357
+ geometryFilter: z.ZodOptional<z.ZodArray<z.ZodEnum<["Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"]>, "many">>;
3131
3358
  }, "strip", z.ZodTypeAny, {
3132
3359
  type: "fill";
3133
3360
  paint: {
@@ -3143,6 +3370,7 @@ export declare const MapConfigSchema: z.ZodObject<{
3143
3370
  'fill-sort-key'?: number | undefined;
3144
3371
  visibility?: "visible" | "none" | undefined;
3145
3372
  } | undefined;
3373
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
3146
3374
  }, {
3147
3375
  type: "fill";
3148
3376
  paint: {
@@ -3158,6 +3386,7 @@ export declare const MapConfigSchema: z.ZodObject<{
3158
3386
  'fill-sort-key'?: number | undefined;
3159
3387
  visibility?: "visible" | "none" | undefined;
3160
3388
  } | undefined;
3389
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
3161
3390
  }>, z.ZodObject<{
3162
3391
  type: z.ZodLiteral<"line">;
3163
3392
  paint: z.ZodObject<{
@@ -3219,6 +3448,7 @@ export declare const MapConfigSchema: z.ZodObject<{
3219
3448
  'line-round-limit'?: number | undefined;
3220
3449
  'line-sort-key'?: number | undefined;
3221
3450
  }>>;
3451
+ geometryFilter: z.ZodOptional<z.ZodArray<z.ZodEnum<["Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"]>, "many">>;
3222
3452
  }, "strip", z.ZodTypeAny, {
3223
3453
  type: "line";
3224
3454
  paint: {
@@ -3242,6 +3472,7 @@ export declare const MapConfigSchema: z.ZodObject<{
3242
3472
  'line-round-limit'?: number | undefined;
3243
3473
  'line-sort-key'?: number | undefined;
3244
3474
  } | undefined;
3475
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
3245
3476
  }, {
3246
3477
  type: "line";
3247
3478
  paint: {
@@ -3265,6 +3496,7 @@ export declare const MapConfigSchema: z.ZodObject<{
3265
3496
  'line-round-limit'?: number | undefined;
3266
3497
  'line-sort-key'?: number | undefined;
3267
3498
  } | undefined;
3499
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
3268
3500
  }>, z.ZodObject<{
3269
3501
  type: z.ZodLiteral<"circle">;
3270
3502
  paint: z.ZodObject<{
@@ -3314,6 +3546,7 @@ export declare const MapConfigSchema: z.ZodObject<{
3314
3546
  visibility?: "visible" | "none" | undefined;
3315
3547
  'circle-sort-key'?: number | undefined;
3316
3548
  }>>;
3549
+ geometryFilter: z.ZodOptional<z.ZodArray<z.ZodEnum<["Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"]>, "many">>;
3317
3550
  }, "strip", z.ZodTypeAny, {
3318
3551
  type: "circle";
3319
3552
  paint: {
@@ -3333,6 +3566,7 @@ export declare const MapConfigSchema: z.ZodObject<{
3333
3566
  visibility?: "visible" | "none" | undefined;
3334
3567
  'circle-sort-key'?: number | undefined;
3335
3568
  } | undefined;
3569
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
3336
3570
  }, {
3337
3571
  type: "circle";
3338
3572
  paint: {
@@ -3352,6 +3586,7 @@ export declare const MapConfigSchema: z.ZodObject<{
3352
3586
  visibility?: "visible" | "none" | undefined;
3353
3587
  'circle-sort-key'?: number | undefined;
3354
3588
  } | undefined;
3589
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
3355
3590
  }>, z.ZodObject<{
3356
3591
  type: z.ZodLiteral<"symbol">;
3357
3592
  paint: z.ZodObject<{
@@ -3521,6 +3756,7 @@ export declare const MapConfigSchema: z.ZodObject<{
3521
3756
  'text-ignore-placement'?: boolean | undefined;
3522
3757
  'text-optional'?: boolean | undefined;
3523
3758
  }>>;
3759
+ geometryFilter: z.ZodOptional<z.ZodArray<z.ZodEnum<["Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"]>, "many">>;
3524
3760
  }, "strip", z.ZodTypeAny, {
3525
3761
  type: "symbol";
3526
3762
  paint: {
@@ -3580,6 +3816,7 @@ export declare const MapConfigSchema: z.ZodObject<{
3580
3816
  'text-ignore-placement'?: boolean | undefined;
3581
3817
  'text-optional'?: boolean | undefined;
3582
3818
  } | undefined;
3819
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
3583
3820
  }, {
3584
3821
  type: "symbol";
3585
3822
  paint: {
@@ -3639,7 +3876,8 @@ export declare const MapConfigSchema: z.ZodObject<{
3639
3876
  'text-ignore-placement'?: boolean | undefined;
3640
3877
  'text-optional'?: boolean | undefined;
3641
3878
  } | undefined;
3642
- }>]>>;
3879
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
3880
+ }>]>, "many">>;
3643
3881
  legend: z.ZodOptional<z.ZodObject<{
3644
3882
  entries: z.ZodArray<z.ZodObject<{
3645
3883
  label: z.ZodString;
@@ -3868,7 +4106,7 @@ export declare const MapConfigSchema: z.ZodObject<{
3868
4106
  sourceId: string;
3869
4107
  collection: string;
3870
4108
  dataMode: "vector-tiles" | "geojson";
3871
- style?: {
4109
+ styles?: ({
3872
4110
  type: "fill";
3873
4111
  paint: {
3874
4112
  'fill-color': string | unknown[];
@@ -3883,6 +4121,7 @@ export declare const MapConfigSchema: z.ZodObject<{
3883
4121
  'fill-sort-key'?: number | undefined;
3884
4122
  visibility?: "visible" | "none" | undefined;
3885
4123
  } | undefined;
4124
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
3886
4125
  } | {
3887
4126
  type: "line";
3888
4127
  paint: {
@@ -3906,6 +4145,7 @@ export declare const MapConfigSchema: z.ZodObject<{
3906
4145
  'line-round-limit'?: number | undefined;
3907
4146
  'line-sort-key'?: number | undefined;
3908
4147
  } | undefined;
4148
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
3909
4149
  } | {
3910
4150
  type: "circle";
3911
4151
  paint: {
@@ -3925,6 +4165,7 @@ export declare const MapConfigSchema: z.ZodObject<{
3925
4165
  visibility?: "visible" | "none" | undefined;
3926
4166
  'circle-sort-key'?: number | undefined;
3927
4167
  } | undefined;
4168
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
3928
4169
  } | {
3929
4170
  type: "symbol";
3930
4171
  paint: {
@@ -3984,7 +4225,8 @@ export declare const MapConfigSchema: z.ZodObject<{
3984
4225
  'text-ignore-placement'?: boolean | undefined;
3985
4226
  'text-optional'?: boolean | undefined;
3986
4227
  } | undefined;
3987
- } | undefined;
4228
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
4229
+ })[] | undefined;
3988
4230
  legend?: {
3989
4231
  entries: {
3990
4232
  label: string;
@@ -4045,7 +4287,7 @@ export declare const MapConfigSchema: z.ZodObject<{
4045
4287
  collection: string;
4046
4288
  dataMode: "vector-tiles" | "geojson";
4047
4289
  visible?: boolean | undefined;
4048
- style?: {
4290
+ styles?: ({
4049
4291
  type: "fill";
4050
4292
  paint: {
4051
4293
  'fill-color'?: string | unknown[] | undefined;
@@ -4060,6 +4302,7 @@ export declare const MapConfigSchema: z.ZodObject<{
4060
4302
  'fill-sort-key'?: number | undefined;
4061
4303
  visibility?: "visible" | "none" | undefined;
4062
4304
  } | undefined;
4305
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
4063
4306
  } | {
4064
4307
  type: "line";
4065
4308
  paint: {
@@ -4083,6 +4326,7 @@ export declare const MapConfigSchema: z.ZodObject<{
4083
4326
  'line-round-limit'?: number | undefined;
4084
4327
  'line-sort-key'?: number | undefined;
4085
4328
  } | undefined;
4329
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
4086
4330
  } | {
4087
4331
  type: "circle";
4088
4332
  paint: {
@@ -4102,6 +4346,7 @@ export declare const MapConfigSchema: z.ZodObject<{
4102
4346
  visibility?: "visible" | "none" | undefined;
4103
4347
  'circle-sort-key'?: number | undefined;
4104
4348
  } | undefined;
4349
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
4105
4350
  } | {
4106
4351
  type: "symbol";
4107
4352
  paint: {
@@ -4161,7 +4406,8 @@ export declare const MapConfigSchema: z.ZodObject<{
4161
4406
  'text-ignore-placement'?: boolean | undefined;
4162
4407
  'text-optional'?: boolean | undefined;
4163
4408
  } | undefined;
4164
- } | undefined;
4409
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
4410
+ })[] | undefined;
4165
4411
  legend?: {
4166
4412
  entries: {
4167
4413
  label: string;
@@ -4215,98 +4461,14 @@ export declare const MapConfigSchema: z.ZodObject<{
4215
4461
  label?: string | undefined;
4216
4462
  visible?: boolean | undefined;
4217
4463
  }> | undefined;
4218
- }>, "many">;
4219
- basemaps: z.ZodArray<z.ZodObject<{
4220
- id: z.ZodString;
4221
- label: z.ZodString;
4222
- url: z.ZodString;
4223
- thumbnail: z.ZodOptional<z.ZodString>;
4224
- }, "strip", z.ZodTypeAny, {
4225
- id: string;
4226
- url: string;
4227
- label: string;
4228
- thumbnail?: string | undefined;
4229
- }, {
4230
- id: string;
4231
- url: string;
4232
- label: string;
4233
- thumbnail?: string | undefined;
4234
- }>, "many">;
4235
- sprites: z.ZodOptional<z.ZodArray<z.ZodObject<{
4236
- id: z.ZodString;
4237
- url: z.ZodString;
4238
- }, "strip", z.ZodTypeAny, {
4239
- id: string;
4240
- url: string;
4241
- }, {
4242
- id: string;
4243
- url: string;
4244
- }>, "many">>;
4245
- ui: z.ZodDefault<z.ZodObject<{
4246
- showLayerPanel: z.ZodDefault<z.ZodBoolean>;
4247
- showLegend: z.ZodDefault<z.ZodBoolean>;
4248
- showBasemapSwitcher: z.ZodDefault<z.ZodBoolean>;
4249
- showSearchPanel: z.ZodDefault<z.ZodBoolean>;
4250
- showCoordinateDisplay: z.ZodDefault<z.ZodBoolean>;
4251
- showFeatureDetail: z.ZodDefault<z.ZodBoolean>;
4252
- showFeatureTooltip: z.ZodDefault<z.ZodBoolean>;
4253
- showExportButton: z.ZodDefault<z.ZodBoolean>;
4254
- showLegendOpacity: z.ZodDefault<z.ZodBoolean>;
4255
- }, "strip", z.ZodTypeAny, {
4256
- showLayerPanel: boolean;
4257
- showLegend: boolean;
4258
- showBasemapSwitcher: boolean;
4259
- showSearchPanel: boolean;
4260
- showCoordinateDisplay: boolean;
4261
- showFeatureDetail: boolean;
4262
- showFeatureTooltip: boolean;
4263
- showExportButton: boolean;
4264
- showLegendOpacity: boolean;
4265
- }, {
4266
- showLayerPanel?: boolean | undefined;
4267
- showLegend?: boolean | undefined;
4268
- showBasemapSwitcher?: boolean | undefined;
4269
- showSearchPanel?: boolean | undefined;
4270
- showCoordinateDisplay?: boolean | undefined;
4271
- showFeatureDetail?: boolean | undefined;
4272
- showFeatureTooltip?: boolean | undefined;
4273
- showExportButton?: boolean | undefined;
4274
- showLegendOpacity?: boolean | undefined;
4275
- }>>;
4276
- initialView: z.ZodObject<{
4277
- latitude: z.ZodNumber;
4278
- longitude: z.ZodNumber;
4279
- zoom: z.ZodNumber;
4280
- pitch: z.ZodDefault<z.ZodNumber>;
4281
- bearing: z.ZodDefault<z.ZodNumber>;
4282
- }, "strip", z.ZodTypeAny, {
4283
- latitude: number;
4284
- longitude: number;
4285
- zoom: number;
4286
- pitch: number;
4287
- bearing: number;
4288
- }, {
4289
- latitude: number;
4290
- longitude: number;
4291
- zoom: number;
4292
- pitch?: number | undefined;
4293
- bearing?: number | undefined;
4294
- }>;
4295
- }, "strip", z.ZodTypeAny, {
4296
- sources: {
4297
- id: string;
4298
- url: string;
4299
- tileMatrixSetId: string;
4300
- label?: string | undefined;
4301
- }[];
4302
- layers: {
4464
+ }>, {
4303
4465
  id: string;
4304
4466
  label: string;
4305
4467
  visible: boolean;
4306
4468
  sourceId: string;
4307
4469
  collection: string;
4308
4470
  dataMode: "vector-tiles" | "geojson";
4309
- style?: {
4471
+ styles?: ({
4310
4472
  type: "fill";
4311
4473
  paint: {
4312
4474
  'fill-color': string | unknown[];
@@ -4321,6 +4483,7 @@ export declare const MapConfigSchema: z.ZodObject<{
4321
4483
  'fill-sort-key'?: number | undefined;
4322
4484
  visibility?: "visible" | "none" | undefined;
4323
4485
  } | undefined;
4486
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
4324
4487
  } | {
4325
4488
  type: "line";
4326
4489
  paint: {
@@ -4344,6 +4507,7 @@ export declare const MapConfigSchema: z.ZodObject<{
4344
4507
  'line-round-limit'?: number | undefined;
4345
4508
  'line-sort-key'?: number | undefined;
4346
4509
  } | undefined;
4510
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
4347
4511
  } | {
4348
4512
  type: "circle";
4349
4513
  paint: {
@@ -4363,6 +4527,7 @@ export declare const MapConfigSchema: z.ZodObject<{
4363
4527
  visibility?: "visible" | "none" | undefined;
4364
4528
  'circle-sort-key'?: number | undefined;
4365
4529
  } | undefined;
4530
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
4366
4531
  } | {
4367
4532
  type: "symbol";
4368
4533
  paint: {
@@ -4422,7 +4587,8 @@ export declare const MapConfigSchema: z.ZodObject<{
4422
4587
  'text-ignore-placement'?: boolean | undefined;
4423
4588
  'text-optional'?: boolean | undefined;
4424
4589
  } | undefined;
4425
- } | undefined;
4590
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
4591
+ })[] | undefined;
4426
4592
  legend?: {
4427
4593
  entries: {
4428
4594
  label: string;
@@ -4476,14 +4642,44 @@ export declare const MapConfigSchema: z.ZodObject<{
4476
4642
  visible: boolean;
4477
4643
  label?: string | undefined;
4478
4644
  }> | undefined;
4479
- }[];
4480
- basemaps: {
4645
+ }, unknown>, "many">;
4646
+ basemaps: z.ZodArray<z.ZodObject<{
4647
+ id: z.ZodString;
4648
+ label: z.ZodString;
4649
+ url: z.ZodString;
4650
+ thumbnail: z.ZodOptional<z.ZodString>;
4651
+ }, "strip", z.ZodTypeAny, {
4481
4652
  id: string;
4482
4653
  url: string;
4483
4654
  label: string;
4484
4655
  thumbnail?: string | undefined;
4485
- }[];
4486
- ui: {
4656
+ }, {
4657
+ id: string;
4658
+ url: string;
4659
+ label: string;
4660
+ thumbnail?: string | undefined;
4661
+ }>, "many">;
4662
+ sprites: z.ZodOptional<z.ZodArray<z.ZodObject<{
4663
+ id: z.ZodString;
4664
+ url: z.ZodString;
4665
+ }, "strip", z.ZodTypeAny, {
4666
+ id: string;
4667
+ url: string;
4668
+ }, {
4669
+ id: string;
4670
+ url: string;
4671
+ }>, "many">>;
4672
+ ui: z.ZodDefault<z.ZodObject<{
4673
+ showLayerPanel: z.ZodDefault<z.ZodBoolean>;
4674
+ showLegend: z.ZodDefault<z.ZodBoolean>;
4675
+ showBasemapSwitcher: z.ZodDefault<z.ZodBoolean>;
4676
+ showSearchPanel: z.ZodDefault<z.ZodBoolean>;
4677
+ showCoordinateDisplay: z.ZodDefault<z.ZodBoolean>;
4678
+ showFeatureDetail: z.ZodDefault<z.ZodBoolean>;
4679
+ showFeatureTooltip: z.ZodDefault<z.ZodBoolean>;
4680
+ showExportButton: z.ZodDefault<z.ZodBoolean>;
4681
+ showLegendOpacity: z.ZodDefault<z.ZodBoolean>;
4682
+ }, "strip", z.ZodTypeAny, {
4487
4683
  showLayerPanel: boolean;
4488
4684
  showLegend: boolean;
4489
4685
  showBasemapSwitcher: boolean;
@@ -4493,37 +4689,55 @@ export declare const MapConfigSchema: z.ZodObject<{
4493
4689
  showFeatureTooltip: boolean;
4494
4690
  showExportButton: boolean;
4495
4691
  showLegendOpacity: boolean;
4496
- };
4497
- initialView: {
4692
+ }, {
4693
+ showLayerPanel?: boolean | undefined;
4694
+ showLegend?: boolean | undefined;
4695
+ showBasemapSwitcher?: boolean | undefined;
4696
+ showSearchPanel?: boolean | undefined;
4697
+ showCoordinateDisplay?: boolean | undefined;
4698
+ showFeatureDetail?: boolean | undefined;
4699
+ showFeatureTooltip?: boolean | undefined;
4700
+ showExportButton?: boolean | undefined;
4701
+ showLegendOpacity?: boolean | undefined;
4702
+ }>>;
4703
+ initialView: z.ZodObject<{
4704
+ latitude: z.ZodNumber;
4705
+ longitude: z.ZodNumber;
4706
+ zoom: z.ZodNumber;
4707
+ pitch: z.ZodDefault<z.ZodNumber>;
4708
+ bearing: z.ZodDefault<z.ZodNumber>;
4709
+ }, "strip", z.ZodTypeAny, {
4498
4710
  latitude: number;
4499
4711
  longitude: number;
4500
4712
  zoom: number;
4501
4713
  pitch: number;
4502
4714
  bearing: number;
4503
- };
4504
- sprites?: {
4505
- id: string;
4506
- url: string;
4507
- }[] | undefined;
4508
- }, {
4715
+ }, {
4716
+ latitude: number;
4717
+ longitude: number;
4718
+ zoom: number;
4719
+ pitch?: number | undefined;
4720
+ bearing?: number | undefined;
4721
+ }>;
4722
+ }, "strip", z.ZodTypeAny, {
4509
4723
  sources: {
4510
4724
  id: string;
4511
4725
  url: string;
4726
+ tileMatrixSetId: string;
4512
4727
  label?: string | undefined;
4513
- tileMatrixSetId?: string | undefined;
4514
4728
  }[];
4515
4729
  layers: {
4516
4730
  id: string;
4517
4731
  label: string;
4732
+ visible: boolean;
4518
4733
  sourceId: string;
4519
4734
  collection: string;
4520
4735
  dataMode: "vector-tiles" | "geojson";
4521
- visible?: boolean | undefined;
4522
- style?: {
4736
+ styles?: ({
4523
4737
  type: "fill";
4524
4738
  paint: {
4525
- 'fill-color'?: string | unknown[] | undefined;
4526
- 'fill-opacity'?: number | undefined;
4739
+ 'fill-color': string | unknown[];
4740
+ 'fill-opacity': number;
4527
4741
  'fill-outline-color'?: string | unknown[] | undefined;
4528
4742
  'fill-antialias'?: boolean | undefined;
4529
4743
  'fill-translate'?: [number, number] | undefined;
@@ -4534,12 +4748,13 @@ export declare const MapConfigSchema: z.ZodObject<{
4534
4748
  'fill-sort-key'?: number | undefined;
4535
4749
  visibility?: "visible" | "none" | undefined;
4536
4750
  } | undefined;
4751
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
4537
4752
  } | {
4538
4753
  type: "line";
4539
4754
  paint: {
4540
- 'line-color'?: string | unknown[] | undefined;
4541
- 'line-width'?: number | undefined;
4542
- 'line-opacity'?: number | undefined;
4755
+ 'line-color': string | unknown[];
4756
+ 'line-width': number;
4757
+ 'line-opacity': number;
4543
4758
  'line-dasharray'?: number[] | undefined;
4544
4759
  'line-translate'?: [number, number] | undefined;
4545
4760
  'line-translate-anchor'?: "map" | "viewport" | undefined;
@@ -4557,12 +4772,13 @@ export declare const MapConfigSchema: z.ZodObject<{
4557
4772
  'line-round-limit'?: number | undefined;
4558
4773
  'line-sort-key'?: number | undefined;
4559
4774
  } | undefined;
4775
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
4560
4776
  } | {
4561
4777
  type: "circle";
4562
4778
  paint: {
4563
- 'circle-color'?: string | unknown[] | undefined;
4564
- 'circle-radius'?: number | undefined;
4565
- 'circle-opacity'?: number | undefined;
4779
+ 'circle-color': string | unknown[];
4780
+ 'circle-radius': number;
4781
+ 'circle-opacity': number;
4566
4782
  'circle-stroke-color'?: string | unknown[] | undefined;
4567
4783
  'circle-stroke-width'?: number | undefined;
4568
4784
  'circle-blur'?: number | undefined;
@@ -4576,6 +4792,7 @@ export declare const MapConfigSchema: z.ZodObject<{
4576
4792
  visibility?: "visible" | "none" | undefined;
4577
4793
  'circle-sort-key'?: number | undefined;
4578
4794
  } | undefined;
4795
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
4579
4796
  } | {
4580
4797
  type: "symbol";
4581
4798
  paint: {
@@ -4635,7 +4852,8 @@ export declare const MapConfigSchema: z.ZodObject<{
4635
4852
  'text-ignore-placement'?: boolean | undefined;
4636
4853
  'text-optional'?: boolean | undefined;
4637
4854
  } | undefined;
4638
- } | undefined;
4855
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
4856
+ })[] | undefined;
4639
4857
  legend?: {
4640
4858
  entries: {
4641
4859
  label: string;
@@ -4655,18 +4873,18 @@ export declare const MapConfigSchema: z.ZodObject<{
4655
4873
  fields: ({
4656
4874
  type: "text";
4657
4875
  label: string;
4876
+ autocomplete: boolean;
4658
4877
  property: string;
4659
4878
  options?: string[] | undefined;
4660
- autocomplete?: boolean | undefined;
4661
4879
  prefetch?: boolean | undefined;
4662
4880
  placeholder?: string | undefined;
4663
4881
  } | {
4664
4882
  type: "number";
4665
4883
  label: string;
4666
4884
  property: string;
4885
+ inputMode: "input" | "slider";
4886
+ operator: "eq" | "gt" | "lt" | "gte" | "lte" | "between";
4667
4887
  placeholder?: string | undefined;
4668
- inputMode?: "input" | "slider" | undefined;
4669
- operator?: "eq" | "gt" | "lt" | "gte" | "lte" | "between" | undefined;
4670
4888
  min?: number | undefined;
4671
4889
  max?: number | undefined;
4672
4890
  step?: number | undefined;
@@ -4674,8 +4892,8 @@ export declare const MapConfigSchema: z.ZodObject<{
4674
4892
  type: "datetime";
4675
4893
  label: string;
4676
4894
  property: string;
4895
+ range: boolean;
4677
4896
  placeholder?: string | undefined;
4678
- range?: boolean | undefined;
4679
4897
  } | {
4680
4898
  type: "select";
4681
4899
  label: string;
@@ -4686,8 +4904,8 @@ export declare const MapConfigSchema: z.ZodObject<{
4686
4904
  })[];
4687
4905
  } | undefined;
4688
4906
  propertyDisplay?: Record<string, {
4907
+ visible: boolean;
4689
4908
  label?: string | undefined;
4690
- visible?: boolean | undefined;
4691
4909
  }> | undefined;
4692
4910
  }[];
4693
4911
  basemaps: {
@@ -4696,6 +4914,42 @@ export declare const MapConfigSchema: z.ZodObject<{
4696
4914
  label: string;
4697
4915
  thumbnail?: string | undefined;
4698
4916
  }[];
4917
+ ui: {
4918
+ showLayerPanel: boolean;
4919
+ showLegend: boolean;
4920
+ showBasemapSwitcher: boolean;
4921
+ showSearchPanel: boolean;
4922
+ showCoordinateDisplay: boolean;
4923
+ showFeatureDetail: boolean;
4924
+ showFeatureTooltip: boolean;
4925
+ showExportButton: boolean;
4926
+ showLegendOpacity: boolean;
4927
+ };
4928
+ initialView: {
4929
+ latitude: number;
4930
+ longitude: number;
4931
+ zoom: number;
4932
+ pitch: number;
4933
+ bearing: number;
4934
+ };
4935
+ sprites?: {
4936
+ id: string;
4937
+ url: string;
4938
+ }[] | undefined;
4939
+ }, {
4940
+ sources: {
4941
+ id: string;
4942
+ url: string;
4943
+ label?: string | undefined;
4944
+ tileMatrixSetId?: string | undefined;
4945
+ }[];
4946
+ layers: unknown[];
4947
+ basemaps: {
4948
+ id: string;
4949
+ url: string;
4950
+ label: string;
4951
+ thumbnail?: string | undefined;
4952
+ }[];
4699
4953
  initialView: {
4700
4954
  latitude: number;
4701
4955
  longitude: number;
@@ -4736,7 +4990,7 @@ export declare function validateMapConfig(config: unknown): {
4736
4990
  sourceId: string;
4737
4991
  collection: string;
4738
4992
  dataMode: "vector-tiles" | "geojson";
4739
- style?: {
4993
+ styles?: ({
4740
4994
  type: "fill";
4741
4995
  paint: {
4742
4996
  'fill-color': string | unknown[];
@@ -4751,6 +5005,7 @@ export declare function validateMapConfig(config: unknown): {
4751
5005
  'fill-sort-key'?: number | undefined;
4752
5006
  visibility?: "visible" | "none" | undefined;
4753
5007
  } | undefined;
5008
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
4754
5009
  } | {
4755
5010
  type: "line";
4756
5011
  paint: {
@@ -4774,6 +5029,7 @@ export declare function validateMapConfig(config: unknown): {
4774
5029
  'line-round-limit'?: number | undefined;
4775
5030
  'line-sort-key'?: number | undefined;
4776
5031
  } | undefined;
5032
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
4777
5033
  } | {
4778
5034
  type: "circle";
4779
5035
  paint: {
@@ -4793,6 +5049,7 @@ export declare function validateMapConfig(config: unknown): {
4793
5049
  visibility?: "visible" | "none" | undefined;
4794
5050
  'circle-sort-key'?: number | undefined;
4795
5051
  } | undefined;
5052
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
4796
5053
  } | {
4797
5054
  type: "symbol";
4798
5055
  paint: {
@@ -4852,7 +5109,8 @@ export declare function validateMapConfig(config: unknown): {
4852
5109
  'text-ignore-placement'?: boolean | undefined;
4853
5110
  'text-optional'?: boolean | undefined;
4854
5111
  } | undefined;
4855
- } | undefined;
5112
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
5113
+ })[] | undefined;
4856
5114
  legend?: {
4857
5115
  entries: {
4858
5116
  label: string;
@@ -4946,184 +5204,7 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
4946
5204
  label?: string | undefined;
4947
5205
  tileMatrixSetId?: string | undefined;
4948
5206
  }[];
4949
- layers: {
4950
- id: string;
4951
- label: string;
4952
- sourceId: string;
4953
- collection: string;
4954
- dataMode: "vector-tiles" | "geojson";
4955
- visible?: boolean | undefined;
4956
- style?: {
4957
- type: "fill";
4958
- paint: {
4959
- 'fill-color'?: string | unknown[] | undefined;
4960
- 'fill-opacity'?: number | undefined;
4961
- 'fill-outline-color'?: string | unknown[] | undefined;
4962
- 'fill-antialias'?: boolean | undefined;
4963
- 'fill-translate'?: [number, number] | undefined;
4964
- 'fill-translate-anchor'?: "map" | "viewport" | undefined;
4965
- 'fill-pattern'?: string | undefined;
4966
- };
4967
- layout?: {
4968
- 'fill-sort-key'?: number | undefined;
4969
- visibility?: "visible" | "none" | undefined;
4970
- } | undefined;
4971
- } | {
4972
- type: "line";
4973
- paint: {
4974
- 'line-color'?: string | unknown[] | undefined;
4975
- 'line-width'?: number | undefined;
4976
- 'line-opacity'?: number | undefined;
4977
- 'line-dasharray'?: number[] | undefined;
4978
- 'line-translate'?: [number, number] | undefined;
4979
- 'line-translate-anchor'?: "map" | "viewport" | undefined;
4980
- 'line-gap-width'?: number | undefined;
4981
- 'line-offset'?: number | undefined;
4982
- 'line-blur'?: number | undefined;
4983
- 'line-pattern'?: string | undefined;
4984
- 'line-gradient'?: string | undefined;
4985
- };
4986
- layout?: {
4987
- visibility?: "visible" | "none" | undefined;
4988
- 'line-cap'?: "butt" | "round" | "square" | undefined;
4989
- 'line-join'?: "round" | "bevel" | "miter" | undefined;
4990
- 'line-miter-limit'?: number | undefined;
4991
- 'line-round-limit'?: number | undefined;
4992
- 'line-sort-key'?: number | undefined;
4993
- } | undefined;
4994
- } | {
4995
- type: "circle";
4996
- paint: {
4997
- 'circle-color'?: string | unknown[] | undefined;
4998
- 'circle-radius'?: number | undefined;
4999
- 'circle-opacity'?: number | undefined;
5000
- 'circle-stroke-color'?: string | unknown[] | undefined;
5001
- 'circle-stroke-width'?: number | undefined;
5002
- 'circle-blur'?: number | undefined;
5003
- 'circle-translate'?: [number, number] | undefined;
5004
- 'circle-translate-anchor'?: "map" | "viewport" | undefined;
5005
- 'circle-pitch-scale'?: "map" | "viewport" | undefined;
5006
- 'circle-pitch-alignment'?: "map" | "viewport" | undefined;
5007
- 'circle-stroke-opacity'?: number | undefined;
5008
- };
5009
- layout?: {
5010
- visibility?: "visible" | "none" | undefined;
5011
- 'circle-sort-key'?: number | undefined;
5012
- } | undefined;
5013
- } | {
5014
- type: "symbol";
5015
- paint: {
5016
- 'icon-opacity'?: number | undefined;
5017
- 'icon-color'?: string | unknown[] | undefined;
5018
- 'icon-halo-color'?: string | unknown[] | undefined;
5019
- 'icon-halo-width'?: number | undefined;
5020
- 'icon-halo-blur'?: number | undefined;
5021
- 'icon-translate'?: [number, number] | undefined;
5022
- 'icon-translate-anchor'?: "map" | "viewport" | undefined;
5023
- 'text-opacity'?: number | undefined;
5024
- 'text-color'?: string | unknown[] | undefined;
5025
- 'text-halo-color'?: string | unknown[] | undefined;
5026
- 'text-halo-width'?: number | undefined;
5027
- 'text-halo-blur'?: number | undefined;
5028
- 'text-translate'?: [number, number] | undefined;
5029
- 'text-translate-anchor'?: "map" | "viewport" | undefined;
5030
- };
5031
- layout?: {
5032
- visibility?: "visible" | "none" | undefined;
5033
- 'symbol-placement'?: "point" | "line" | "line-center" | undefined;
5034
- 'symbol-spacing'?: number | undefined;
5035
- 'symbol-avoid-edges'?: boolean | undefined;
5036
- 'symbol-sort-key'?: number | undefined;
5037
- 'symbol-z-order'?: "auto" | "viewport-y" | "source" | undefined;
5038
- 'icon-allow-overlap'?: boolean | undefined;
5039
- 'icon-ignore-placement'?: boolean | undefined;
5040
- 'icon-optional'?: boolean | undefined;
5041
- 'icon-rotation-alignment'?: "map" | "viewport" | "auto" | undefined;
5042
- 'icon-size'?: number | undefined;
5043
- 'icon-text-fit'?: "none" | "width" | "height" | "both" | undefined;
5044
- 'icon-text-fit-padding'?: [number, number, number, number] | undefined;
5045
- 'icon-image'?: string | undefined;
5046
- 'icon-rotate'?: number | undefined;
5047
- 'icon-padding'?: number | undefined;
5048
- 'icon-keep-upright'?: boolean | undefined;
5049
- 'icon-offset'?: [number, number] | undefined;
5050
- 'icon-anchor'?: "center" | "left" | "right" | "top" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
5051
- 'icon-pitch-alignment'?: "map" | "viewport" | "auto" | undefined;
5052
- 'text-pitch-alignment'?: "map" | "viewport" | "auto" | undefined;
5053
- 'text-rotation-alignment'?: "map" | "viewport" | "auto" | "viewport-glyph" | undefined;
5054
- 'text-field'?: string | undefined;
5055
- 'text-font'?: string[] | undefined;
5056
- 'text-size'?: number | undefined;
5057
- 'text-max-width'?: number | undefined;
5058
- 'text-line-height'?: number | undefined;
5059
- 'text-letter-spacing'?: number | undefined;
5060
- 'text-justify'?: "auto" | "center" | "left" | "right" | undefined;
5061
- 'text-anchor'?: "center" | "left" | "right" | "top" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
5062
- 'text-max-angle'?: number | undefined;
5063
- 'text-rotate'?: number | undefined;
5064
- 'text-padding'?: number | undefined;
5065
- 'text-keep-upright'?: boolean | undefined;
5066
- 'text-transform'?: "none" | "uppercase" | "lowercase" | undefined;
5067
- 'text-offset'?: [number, number] | undefined;
5068
- 'text-allow-overlap'?: boolean | undefined;
5069
- 'text-ignore-placement'?: boolean | undefined;
5070
- 'text-optional'?: boolean | undefined;
5071
- } | undefined;
5072
- } | undefined;
5073
- legend?: {
5074
- entries: {
5075
- label: string;
5076
- color: string;
5077
- shape?: "square" | "line" | "circle" | undefined;
5078
- }[];
5079
- displayMode?: "categorical" | "gradient" | "simple" | undefined;
5080
- showLabelsCollapsed?: boolean | undefined;
5081
- gradientProperty?: string | undefined;
5082
- } | undefined;
5083
- filters?: {
5084
- datetime?: string | undefined;
5085
- properties?: Record<string, string | number | boolean | string[]> | undefined;
5086
- bbox?: [number, number, number, number] | undefined;
5087
- } | undefined;
5088
- search?: {
5089
- fields: ({
5090
- type: "text";
5091
- label: string;
5092
- property: string;
5093
- options?: string[] | undefined;
5094
- autocomplete?: boolean | undefined;
5095
- prefetch?: boolean | undefined;
5096
- placeholder?: string | undefined;
5097
- } | {
5098
- type: "number";
5099
- label: string;
5100
- property: string;
5101
- placeholder?: string | undefined;
5102
- inputMode?: "input" | "slider" | undefined;
5103
- operator?: "eq" | "gt" | "lt" | "gte" | "lte" | "between" | undefined;
5104
- min?: number | undefined;
5105
- max?: number | undefined;
5106
- step?: number | undefined;
5107
- } | {
5108
- type: "datetime";
5109
- label: string;
5110
- property: string;
5111
- placeholder?: string | undefined;
5112
- range?: boolean | undefined;
5113
- } | {
5114
- type: "select";
5115
- label: string;
5116
- property: string;
5117
- options?: string[] | undefined;
5118
- prefetch?: boolean | undefined;
5119
- placeholder?: string | undefined;
5120
- })[];
5121
- } | undefined;
5122
- propertyDisplay?: Record<string, {
5123
- label?: string | undefined;
5124
- visible?: boolean | undefined;
5125
- }> | undefined;
5126
- }[];
5207
+ layers: unknown[];
5127
5208
  basemaps: {
5128
5209
  id: string;
5129
5210
  url: string;
@@ -5166,7 +5247,7 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
5166
5247
  sourceId: string;
5167
5248
  collection: string;
5168
5249
  dataMode: "vector-tiles" | "geojson";
5169
- style?: {
5250
+ styles?: ({
5170
5251
  type: "fill";
5171
5252
  paint: {
5172
5253
  'fill-color': string | unknown[];
@@ -5181,6 +5262,7 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
5181
5262
  'fill-sort-key'?: number | undefined;
5182
5263
  visibility?: "visible" | "none" | undefined;
5183
5264
  } | undefined;
5265
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
5184
5266
  } | {
5185
5267
  type: "line";
5186
5268
  paint: {
@@ -5204,6 +5286,7 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
5204
5286
  'line-round-limit'?: number | undefined;
5205
5287
  'line-sort-key'?: number | undefined;
5206
5288
  } | undefined;
5289
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
5207
5290
  } | {
5208
5291
  type: "circle";
5209
5292
  paint: {
@@ -5223,6 +5306,7 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
5223
5306
  visibility?: "visible" | "none" | undefined;
5224
5307
  'circle-sort-key'?: number | undefined;
5225
5308
  } | undefined;
5309
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
5226
5310
  } | {
5227
5311
  type: "symbol";
5228
5312
  paint: {
@@ -5282,7 +5366,8 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
5282
5366
  'text-ignore-placement'?: boolean | undefined;
5283
5367
  'text-optional'?: boolean | undefined;
5284
5368
  } | undefined;
5285
- } | undefined;
5369
+ geometryFilter?: ("Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon")[] | undefined;
5370
+ })[] | undefined;
5286
5371
  legend?: {
5287
5372
  entries: {
5288
5373
  label: string;