@tileflow/core 0.1.0-alpha.7 → 0.1.0-alpha.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -4,6 +4,11 @@ type TileflowDensity = 'clean' | 'balanced' | 'dense';
4
4
  type TileflowRoads = 'hidden' | 'soft' | 'standard' | 'detailed';
5
5
  type TileflowLabels = 'none' | 'essential' | 'balanced' | 'full';
6
6
  type TileflowPoi = 'none' | 'minimal' | 'balanced' | 'full';
7
+ type TileflowLabelDensity = 'none' | 'minimal' | 'balanced' | 'detailed';
8
+ type TileflowLabelLanguage = 'auto' | 'local' | 'en' | (string & {});
9
+ type TileflowPoiCategory = 'food' | 'coffee' | 'culture' | 'transit' | 'shopping' | 'lodging' | 'health' | 'education' | 'services' | (string & {});
10
+ type TileflowPoiIcons = boolean | 'essential' | 'full';
11
+ type TileflowPoiLabels = 'none' | 'minimal' | 'balanced' | 'full';
7
12
  type TileflowTheme = 'standard' | 'light' | 'dark' | 'minimal' | 'osm-bright-2';
8
13
  type TileflowBuildings = 'hidden' | 'flat' | '3d';
9
14
  type TileflowTerrainMode = 'none' | 'hillshade' | '3d';
@@ -50,12 +55,27 @@ type TileflowLabelColorConfig = {
50
55
  country?: TileflowColor;
51
56
  halo?: TileflowColor;
52
57
  muted?: TileflowColor;
58
+ neighborhood?: TileflowColor;
53
59
  poi?: TileflowColor;
54
60
  primary?: TileflowColor;
55
61
  road?: TileflowColor;
56
62
  settlement?: TileflowColor;
57
63
  water?: TileflowColor;
58
64
  };
65
+ type TileflowPoiColorConfig = {
66
+ coffee?: TileflowColor;
67
+ culture?: TileflowColor;
68
+ education?: TileflowColor;
69
+ food?: TileflowColor;
70
+ halo?: TileflowColor;
71
+ health?: TileflowColor;
72
+ icon?: TileflowColor;
73
+ label?: TileflowColor;
74
+ lodging?: TileflowColor;
75
+ services?: TileflowColor;
76
+ shopping?: TileflowColor;
77
+ transit?: TileflowColor;
78
+ };
59
79
  type TileflowLanduseColorConfig = {
60
80
  cemetery?: TileflowColor;
61
81
  civic?: TileflowColor;
@@ -95,6 +115,7 @@ type TileflowAdvancedColorConfig = {
95
115
  labels?: TileflowLabelColorConfig;
96
116
  landcover?: TileflowLandcoverColorConfig;
97
117
  landuse?: TileflowLanduseColorConfig;
118
+ poi?: TileflowPoiColorConfig;
98
119
  roads?: TileflowRoadColorConfig;
99
120
  };
100
121
  type TileflowThemeModulesConfig = TileflowAdvancedColorConfig;
@@ -176,6 +197,36 @@ type TileflowRoadsModuleConfig = {
176
197
  preset?: TileflowRoadsModulePreset;
177
198
  };
178
199
  type TileflowRoadsModuleOptions = Omit<TileflowRoadsModuleConfig, 'type'>;
200
+ type TileflowLabelsModuleConfig = {
201
+ type: 'labels';
202
+ language?: TileflowLabelLanguage;
203
+ places?: TileflowLabelDensity;
204
+ preset?: TileflowLabels;
205
+ roads?: TileflowLabelDensity;
206
+ water?: TileflowLabelDensity;
207
+ };
208
+ type TileflowLabelsModuleOptions = Omit<TileflowLabelsModuleConfig, 'type'>;
209
+ type TileflowPoiModuleConfig = {
210
+ type: 'poi';
211
+ categories?: readonly TileflowPoiCategory[];
212
+ icons?: TileflowPoiIcons;
213
+ labels?: TileflowPoiLabels;
214
+ minZoom?: number;
215
+ preset?: TileflowPoi;
216
+ };
217
+ type TileflowPoiModuleOptions = Omit<TileflowPoiModuleConfig, 'type'>;
218
+ type TileflowIconSetConfig = {
219
+ extends?: string;
220
+ mapping?: Record<string, string>;
221
+ source?: string;
222
+ sprite?: string;
223
+ };
224
+ type TileflowIconSet = string | TileflowIconSetConfig;
225
+ type TileflowProjectIconSets = Record<string, TileflowIconSet>;
226
+ type MapLibreSprite = string | Array<{
227
+ id: string;
228
+ url: string;
229
+ }>;
179
230
  type TileflowStyleLayerOverride = Record<string, unknown> & {
180
231
  before?: string;
181
232
  filter?: unknown;
@@ -194,7 +245,7 @@ type TileflowStyleOverrideModuleConfig = {
194
245
  removeLayers?: string[];
195
246
  };
196
247
  type TileflowStyleOverrideOptions = Omit<TileflowStyleOverrideModuleConfig, 'type'>;
197
- type TileflowModuleConfig = TileflowRoadsModuleConfig | TileflowStyleOverrideModuleConfig;
248
+ type TileflowModuleConfig = TileflowLabelsModuleConfig | TileflowPoiModuleConfig | TileflowRoadsModuleConfig | TileflowStyleOverrideModuleConfig;
198
249
  type TileflowConfig = {
199
250
  basemap?: TileflowBasemapConfig;
200
251
  name?: string;
@@ -211,6 +262,7 @@ type TileflowConfig = {
211
262
  buildings?: TileflowBuildings;
212
263
  terrain?: TileflowTerrain;
213
264
  glyphs?: string;
265
+ icons?: TileflowIconSet;
214
266
  sprite?: string;
215
267
  tiles?: TileflowTiles;
216
268
  view?: TileflowViewConfig;
@@ -231,11 +283,13 @@ type TileflowTilesetConfig = {
231
283
  };
232
284
  type TileflowProjectThemes = Record<TileflowThemeName, TileflowThemeConfig>;
233
285
  type TileflowProjectConfig = {
286
+ icons?: TileflowProjectIconSets;
234
287
  themes?: TileflowProjectThemes;
235
288
  tilesets?: Record<string, TileflowTilesetConfig>;
236
289
  maps: Record<string, TileflowMapConfig>;
237
290
  };
238
291
  type TileflowStyleOptions = {
292
+ iconSets?: TileflowProjectIconSets;
239
293
  themes?: TileflowProjectThemes;
240
294
  tileBaseUrl?: string;
241
295
  tileset?: string;
@@ -250,7 +304,7 @@ type MapLibreStyle = {
250
304
  version: 8;
251
305
  name: string;
252
306
  glyphs?: string;
253
- sprite?: string;
307
+ sprite?: MapLibreSprite;
254
308
  sources: Record<string, Record<string, unknown>>;
255
309
  layers: Array<Record<string, unknown>>;
256
310
  terrain?: Record<string, unknown>;
@@ -315,6 +369,7 @@ declare const tileflowThemeSchema: z.ZodObject<{
315
369
  country: z.ZodOptional<z.ZodString>;
316
370
  halo: z.ZodOptional<z.ZodString>;
317
371
  muted: z.ZodOptional<z.ZodString>;
372
+ neighborhood: z.ZodOptional<z.ZodString>;
318
373
  poi: z.ZodOptional<z.ZodString>;
319
374
  settlement: z.ZodOptional<z.ZodString>;
320
375
  }, z.core.$strict>>;
@@ -333,6 +388,20 @@ declare const tileflowThemeSchema: z.ZodObject<{
333
388
  industrial: z.ZodOptional<z.ZodString>;
334
389
  residential: z.ZodOptional<z.ZodString>;
335
390
  }, z.core.$strict>>;
391
+ poi: z.ZodOptional<z.ZodObject<{
392
+ halo: z.ZodOptional<z.ZodString>;
393
+ coffee: z.ZodOptional<z.ZodString>;
394
+ culture: z.ZodOptional<z.ZodString>;
395
+ education: z.ZodOptional<z.ZodString>;
396
+ food: z.ZodOptional<z.ZodString>;
397
+ health: z.ZodOptional<z.ZodString>;
398
+ icon: z.ZodOptional<z.ZodString>;
399
+ label: z.ZodOptional<z.ZodString>;
400
+ lodging: z.ZodOptional<z.ZodString>;
401
+ services: z.ZodOptional<z.ZodString>;
402
+ shopping: z.ZodOptional<z.ZodString>;
403
+ transit: z.ZodOptional<z.ZodString>;
404
+ }, z.core.$strict>>;
336
405
  roads: z.ZodOptional<z.ZodObject<{
337
406
  bridge: z.ZodOptional<z.ZodString>;
338
407
  casing: z.ZodOptional<z.ZodString>;
@@ -393,6 +462,7 @@ declare const tileflowThemeSchema: z.ZodObject<{
393
462
  country: z.ZodOptional<z.ZodString>;
394
463
  halo: z.ZodOptional<z.ZodString>;
395
464
  muted: z.ZodOptional<z.ZodString>;
465
+ neighborhood: z.ZodOptional<z.ZodString>;
396
466
  poi: z.ZodOptional<z.ZodString>;
397
467
  settlement: z.ZodOptional<z.ZodString>;
398
468
  }, z.core.$strict>>;
@@ -411,6 +481,20 @@ declare const tileflowThemeSchema: z.ZodObject<{
411
481
  industrial: z.ZodOptional<z.ZodString>;
412
482
  residential: z.ZodOptional<z.ZodString>;
413
483
  }, z.core.$strict>>;
484
+ poi: z.ZodOptional<z.ZodObject<{
485
+ halo: z.ZodOptional<z.ZodString>;
486
+ coffee: z.ZodOptional<z.ZodString>;
487
+ culture: z.ZodOptional<z.ZodString>;
488
+ education: z.ZodOptional<z.ZodString>;
489
+ food: z.ZodOptional<z.ZodString>;
490
+ health: z.ZodOptional<z.ZodString>;
491
+ icon: z.ZodOptional<z.ZodString>;
492
+ label: z.ZodOptional<z.ZodString>;
493
+ lodging: z.ZodOptional<z.ZodString>;
494
+ services: z.ZodOptional<z.ZodString>;
495
+ shopping: z.ZodOptional<z.ZodString>;
496
+ transit: z.ZodOptional<z.ZodString>;
497
+ }, z.core.$strict>>;
414
498
  roads: z.ZodOptional<z.ZodObject<{
415
499
  bridge: z.ZodOptional<z.ZodString>;
416
500
  casing: z.ZodOptional<z.ZodString>;
@@ -500,6 +584,7 @@ declare const tileflowMapSchema: z.ZodObject<{
500
584
  country: z.ZodOptional<z.ZodString>;
501
585
  halo: z.ZodOptional<z.ZodString>;
502
586
  muted: z.ZodOptional<z.ZodString>;
587
+ neighborhood: z.ZodOptional<z.ZodString>;
503
588
  poi: z.ZodOptional<z.ZodString>;
504
589
  settlement: z.ZodOptional<z.ZodString>;
505
590
  }, z.core.$strict>>;
@@ -518,6 +603,20 @@ declare const tileflowMapSchema: z.ZodObject<{
518
603
  industrial: z.ZodOptional<z.ZodString>;
519
604
  residential: z.ZodOptional<z.ZodString>;
520
605
  }, z.core.$strict>>;
606
+ poi: z.ZodOptional<z.ZodObject<{
607
+ halo: z.ZodOptional<z.ZodString>;
608
+ coffee: z.ZodOptional<z.ZodString>;
609
+ culture: z.ZodOptional<z.ZodString>;
610
+ education: z.ZodOptional<z.ZodString>;
611
+ food: z.ZodOptional<z.ZodString>;
612
+ health: z.ZodOptional<z.ZodString>;
613
+ icon: z.ZodOptional<z.ZodString>;
614
+ label: z.ZodOptional<z.ZodString>;
615
+ lodging: z.ZodOptional<z.ZodString>;
616
+ services: z.ZodOptional<z.ZodString>;
617
+ shopping: z.ZodOptional<z.ZodString>;
618
+ transit: z.ZodOptional<z.ZodString>;
619
+ }, z.core.$strict>>;
521
620
  roads: z.ZodOptional<z.ZodObject<{
522
621
  bridge: z.ZodOptional<z.ZodString>;
523
622
  casing: z.ZodOptional<z.ZodString>;
@@ -578,6 +677,7 @@ declare const tileflowMapSchema: z.ZodObject<{
578
677
  country: z.ZodOptional<z.ZodString>;
579
678
  halo: z.ZodOptional<z.ZodString>;
580
679
  muted: z.ZodOptional<z.ZodString>;
680
+ neighborhood: z.ZodOptional<z.ZodString>;
581
681
  poi: z.ZodOptional<z.ZodString>;
582
682
  settlement: z.ZodOptional<z.ZodString>;
583
683
  }, z.core.$strict>>;
@@ -596,6 +696,20 @@ declare const tileflowMapSchema: z.ZodObject<{
596
696
  industrial: z.ZodOptional<z.ZodString>;
597
697
  residential: z.ZodOptional<z.ZodString>;
598
698
  }, z.core.$strict>>;
699
+ poi: z.ZodOptional<z.ZodObject<{
700
+ halo: z.ZodOptional<z.ZodString>;
701
+ coffee: z.ZodOptional<z.ZodString>;
702
+ culture: z.ZodOptional<z.ZodString>;
703
+ education: z.ZodOptional<z.ZodString>;
704
+ food: z.ZodOptional<z.ZodString>;
705
+ health: z.ZodOptional<z.ZodString>;
706
+ icon: z.ZodOptional<z.ZodString>;
707
+ label: z.ZodOptional<z.ZodString>;
708
+ lodging: z.ZodOptional<z.ZodString>;
709
+ services: z.ZodOptional<z.ZodString>;
710
+ shopping: z.ZodOptional<z.ZodString>;
711
+ transit: z.ZodOptional<z.ZodString>;
712
+ }, z.core.$strict>>;
599
713
  roads: z.ZodOptional<z.ZodObject<{
600
714
  bridge: z.ZodOptional<z.ZodString>;
601
715
  casing: z.ZodOptional<z.ZodString>;
@@ -622,6 +736,53 @@ declare const tileflowMapSchema: z.ZodObject<{
622
736
  }, z.core.$strict>>;
623
737
  }, z.core.$strict>]>>;
624
738
  modules: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
739
+ type: z.ZodLiteral<"labels">;
740
+ language: z.ZodOptional<z.ZodString>;
741
+ places: z.ZodOptional<z.ZodEnum<{
742
+ balanced: "balanced";
743
+ none: "none";
744
+ minimal: "minimal";
745
+ detailed: "detailed";
746
+ }>>;
747
+ preset: z.ZodOptional<z.ZodEnum<{
748
+ balanced: "balanced";
749
+ none: "none";
750
+ essential: "essential";
751
+ full: "full";
752
+ }>>;
753
+ roads: z.ZodOptional<z.ZodEnum<{
754
+ balanced: "balanced";
755
+ none: "none";
756
+ minimal: "minimal";
757
+ detailed: "detailed";
758
+ }>>;
759
+ water: z.ZodOptional<z.ZodEnum<{
760
+ balanced: "balanced";
761
+ none: "none";
762
+ minimal: "minimal";
763
+ detailed: "detailed";
764
+ }>>;
765
+ }, z.core.$strict>, z.ZodObject<{
766
+ type: z.ZodLiteral<"poi">;
767
+ categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
768
+ icons: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
769
+ essential: "essential";
770
+ full: "full";
771
+ }>]>>;
772
+ labels: z.ZodOptional<z.ZodEnum<{
773
+ balanced: "balanced";
774
+ none: "none";
775
+ full: "full";
776
+ minimal: "minimal";
777
+ }>>;
778
+ minZoom: z.ZodOptional<z.ZodNumber>;
779
+ preset: z.ZodOptional<z.ZodEnum<{
780
+ balanced: "balanced";
781
+ none: "none";
782
+ full: "full";
783
+ minimal: "minimal";
784
+ }>>;
785
+ }, z.core.$strict>, z.ZodObject<{
625
786
  type: z.ZodLiteral<"roads">;
626
787
  density: z.ZodOptional<z.ZodEnum<{
627
788
  clean: "clean";
@@ -701,6 +862,7 @@ declare const tileflowMapSchema: z.ZodObject<{
701
862
  country: z.ZodOptional<z.ZodString>;
702
863
  halo: z.ZodOptional<z.ZodString>;
703
864
  muted: z.ZodOptional<z.ZodString>;
865
+ neighborhood: z.ZodOptional<z.ZodString>;
704
866
  poi: z.ZodOptional<z.ZodString>;
705
867
  settlement: z.ZodOptional<z.ZodString>;
706
868
  }, z.core.$strict>>;
@@ -719,6 +881,20 @@ declare const tileflowMapSchema: z.ZodObject<{
719
881
  industrial: z.ZodOptional<z.ZodString>;
720
882
  residential: z.ZodOptional<z.ZodString>;
721
883
  }, z.core.$strict>>;
884
+ poi: z.ZodOptional<z.ZodObject<{
885
+ halo: z.ZodOptional<z.ZodString>;
886
+ coffee: z.ZodOptional<z.ZodString>;
887
+ culture: z.ZodOptional<z.ZodString>;
888
+ education: z.ZodOptional<z.ZodString>;
889
+ food: z.ZodOptional<z.ZodString>;
890
+ health: z.ZodOptional<z.ZodString>;
891
+ icon: z.ZodOptional<z.ZodString>;
892
+ label: z.ZodOptional<z.ZodString>;
893
+ lodging: z.ZodOptional<z.ZodString>;
894
+ services: z.ZodOptional<z.ZodString>;
895
+ shopping: z.ZodOptional<z.ZodString>;
896
+ transit: z.ZodOptional<z.ZodString>;
897
+ }, z.core.$strict>>;
722
898
  roads: z.ZodOptional<z.ZodObject<{
723
899
  bridge: z.ZodOptional<z.ZodString>;
724
900
  casing: z.ZodOptional<z.ZodString>;
@@ -792,6 +968,7 @@ declare const tileflowMapSchema: z.ZodObject<{
792
968
  url: z.ZodOptional<z.ZodURL>;
793
969
  }, z.core.$strict>]>>;
794
970
  glyphs: z.ZodOptional<z.ZodString>;
971
+ icons: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
795
972
  sprite: z.ZodOptional<z.ZodString>;
796
973
  tiles: z.ZodOptional<z.ZodObject<{
797
974
  sourceId: z.ZodOptional<z.ZodString>;
@@ -880,6 +1057,7 @@ declare const configSchema: z.ZodObject<{
880
1057
  country: z.ZodOptional<z.ZodString>;
881
1058
  halo: z.ZodOptional<z.ZodString>;
882
1059
  muted: z.ZodOptional<z.ZodString>;
1060
+ neighborhood: z.ZodOptional<z.ZodString>;
883
1061
  poi: z.ZodOptional<z.ZodString>;
884
1062
  settlement: z.ZodOptional<z.ZodString>;
885
1063
  }, z.core.$strict>>;
@@ -898,6 +1076,20 @@ declare const configSchema: z.ZodObject<{
898
1076
  industrial: z.ZodOptional<z.ZodString>;
899
1077
  residential: z.ZodOptional<z.ZodString>;
900
1078
  }, z.core.$strict>>;
1079
+ poi: z.ZodOptional<z.ZodObject<{
1080
+ halo: z.ZodOptional<z.ZodString>;
1081
+ coffee: z.ZodOptional<z.ZodString>;
1082
+ culture: z.ZodOptional<z.ZodString>;
1083
+ education: z.ZodOptional<z.ZodString>;
1084
+ food: z.ZodOptional<z.ZodString>;
1085
+ health: z.ZodOptional<z.ZodString>;
1086
+ icon: z.ZodOptional<z.ZodString>;
1087
+ label: z.ZodOptional<z.ZodString>;
1088
+ lodging: z.ZodOptional<z.ZodString>;
1089
+ services: z.ZodOptional<z.ZodString>;
1090
+ shopping: z.ZodOptional<z.ZodString>;
1091
+ transit: z.ZodOptional<z.ZodString>;
1092
+ }, z.core.$strict>>;
901
1093
  roads: z.ZodOptional<z.ZodObject<{
902
1094
  bridge: z.ZodOptional<z.ZodString>;
903
1095
  casing: z.ZodOptional<z.ZodString>;
@@ -958,6 +1150,7 @@ declare const configSchema: z.ZodObject<{
958
1150
  country: z.ZodOptional<z.ZodString>;
959
1151
  halo: z.ZodOptional<z.ZodString>;
960
1152
  muted: z.ZodOptional<z.ZodString>;
1153
+ neighborhood: z.ZodOptional<z.ZodString>;
961
1154
  poi: z.ZodOptional<z.ZodString>;
962
1155
  settlement: z.ZodOptional<z.ZodString>;
963
1156
  }, z.core.$strict>>;
@@ -976,6 +1169,20 @@ declare const configSchema: z.ZodObject<{
976
1169
  industrial: z.ZodOptional<z.ZodString>;
977
1170
  residential: z.ZodOptional<z.ZodString>;
978
1171
  }, z.core.$strict>>;
1172
+ poi: z.ZodOptional<z.ZodObject<{
1173
+ halo: z.ZodOptional<z.ZodString>;
1174
+ coffee: z.ZodOptional<z.ZodString>;
1175
+ culture: z.ZodOptional<z.ZodString>;
1176
+ education: z.ZodOptional<z.ZodString>;
1177
+ food: z.ZodOptional<z.ZodString>;
1178
+ health: z.ZodOptional<z.ZodString>;
1179
+ icon: z.ZodOptional<z.ZodString>;
1180
+ label: z.ZodOptional<z.ZodString>;
1181
+ lodging: z.ZodOptional<z.ZodString>;
1182
+ services: z.ZodOptional<z.ZodString>;
1183
+ shopping: z.ZodOptional<z.ZodString>;
1184
+ transit: z.ZodOptional<z.ZodString>;
1185
+ }, z.core.$strict>>;
979
1186
  roads: z.ZodOptional<z.ZodObject<{
980
1187
  bridge: z.ZodOptional<z.ZodString>;
981
1188
  casing: z.ZodOptional<z.ZodString>;
@@ -1002,6 +1209,53 @@ declare const configSchema: z.ZodObject<{
1002
1209
  }, z.core.$strict>>;
1003
1210
  }, z.core.$strict>]>>;
1004
1211
  modules: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1212
+ type: z.ZodLiteral<"labels">;
1213
+ language: z.ZodOptional<z.ZodString>;
1214
+ places: z.ZodOptional<z.ZodEnum<{
1215
+ balanced: "balanced";
1216
+ none: "none";
1217
+ minimal: "minimal";
1218
+ detailed: "detailed";
1219
+ }>>;
1220
+ preset: z.ZodOptional<z.ZodEnum<{
1221
+ balanced: "balanced";
1222
+ none: "none";
1223
+ essential: "essential";
1224
+ full: "full";
1225
+ }>>;
1226
+ roads: z.ZodOptional<z.ZodEnum<{
1227
+ balanced: "balanced";
1228
+ none: "none";
1229
+ minimal: "minimal";
1230
+ detailed: "detailed";
1231
+ }>>;
1232
+ water: z.ZodOptional<z.ZodEnum<{
1233
+ balanced: "balanced";
1234
+ none: "none";
1235
+ minimal: "minimal";
1236
+ detailed: "detailed";
1237
+ }>>;
1238
+ }, z.core.$strict>, z.ZodObject<{
1239
+ type: z.ZodLiteral<"poi">;
1240
+ categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
1241
+ icons: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
1242
+ essential: "essential";
1243
+ full: "full";
1244
+ }>]>>;
1245
+ labels: z.ZodOptional<z.ZodEnum<{
1246
+ balanced: "balanced";
1247
+ none: "none";
1248
+ full: "full";
1249
+ minimal: "minimal";
1250
+ }>>;
1251
+ minZoom: z.ZodOptional<z.ZodNumber>;
1252
+ preset: z.ZodOptional<z.ZodEnum<{
1253
+ balanced: "balanced";
1254
+ none: "none";
1255
+ full: "full";
1256
+ minimal: "minimal";
1257
+ }>>;
1258
+ }, z.core.$strict>, z.ZodObject<{
1005
1259
  type: z.ZodLiteral<"roads">;
1006
1260
  density: z.ZodOptional<z.ZodEnum<{
1007
1261
  clean: "clean";
@@ -1081,6 +1335,7 @@ declare const configSchema: z.ZodObject<{
1081
1335
  country: z.ZodOptional<z.ZodString>;
1082
1336
  halo: z.ZodOptional<z.ZodString>;
1083
1337
  muted: z.ZodOptional<z.ZodString>;
1338
+ neighborhood: z.ZodOptional<z.ZodString>;
1084
1339
  poi: z.ZodOptional<z.ZodString>;
1085
1340
  settlement: z.ZodOptional<z.ZodString>;
1086
1341
  }, z.core.$strict>>;
@@ -1099,6 +1354,20 @@ declare const configSchema: z.ZodObject<{
1099
1354
  industrial: z.ZodOptional<z.ZodString>;
1100
1355
  residential: z.ZodOptional<z.ZodString>;
1101
1356
  }, z.core.$strict>>;
1357
+ poi: z.ZodOptional<z.ZodObject<{
1358
+ halo: z.ZodOptional<z.ZodString>;
1359
+ coffee: z.ZodOptional<z.ZodString>;
1360
+ culture: z.ZodOptional<z.ZodString>;
1361
+ education: z.ZodOptional<z.ZodString>;
1362
+ food: z.ZodOptional<z.ZodString>;
1363
+ health: z.ZodOptional<z.ZodString>;
1364
+ icon: z.ZodOptional<z.ZodString>;
1365
+ label: z.ZodOptional<z.ZodString>;
1366
+ lodging: z.ZodOptional<z.ZodString>;
1367
+ services: z.ZodOptional<z.ZodString>;
1368
+ shopping: z.ZodOptional<z.ZodString>;
1369
+ transit: z.ZodOptional<z.ZodString>;
1370
+ }, z.core.$strict>>;
1102
1371
  roads: z.ZodOptional<z.ZodObject<{
1103
1372
  bridge: z.ZodOptional<z.ZodString>;
1104
1373
  casing: z.ZodOptional<z.ZodString>;
@@ -1172,6 +1441,7 @@ declare const configSchema: z.ZodObject<{
1172
1441
  url: z.ZodOptional<z.ZodURL>;
1173
1442
  }, z.core.$strict>]>>;
1174
1443
  glyphs: z.ZodOptional<z.ZodString>;
1444
+ icons: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1175
1445
  sprite: z.ZodOptional<z.ZodString>;
1176
1446
  tiles: z.ZodOptional<z.ZodObject<{
1177
1447
  sourceId: z.ZodOptional<z.ZodString>;
@@ -1197,6 +1467,7 @@ declare const configSchema: z.ZodObject<{
1197
1467
  allowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
1198
1468
  }, z.core.$strict>;
1199
1469
  declare const tileflowProjectSchema: z.ZodObject<{
1470
+ icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
1200
1471
  themes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1201
1472
  colors: z.ZodOptional<z.ZodObject<{
1202
1473
  accent: z.ZodOptional<z.ZodString>;
@@ -1239,6 +1510,7 @@ declare const tileflowProjectSchema: z.ZodObject<{
1239
1510
  country: z.ZodOptional<z.ZodString>;
1240
1511
  halo: z.ZodOptional<z.ZodString>;
1241
1512
  muted: z.ZodOptional<z.ZodString>;
1513
+ neighborhood: z.ZodOptional<z.ZodString>;
1242
1514
  poi: z.ZodOptional<z.ZodString>;
1243
1515
  settlement: z.ZodOptional<z.ZodString>;
1244
1516
  }, z.core.$strict>>;
@@ -1257,6 +1529,20 @@ declare const tileflowProjectSchema: z.ZodObject<{
1257
1529
  industrial: z.ZodOptional<z.ZodString>;
1258
1530
  residential: z.ZodOptional<z.ZodString>;
1259
1531
  }, z.core.$strict>>;
1532
+ poi: z.ZodOptional<z.ZodObject<{
1533
+ halo: z.ZodOptional<z.ZodString>;
1534
+ coffee: z.ZodOptional<z.ZodString>;
1535
+ culture: z.ZodOptional<z.ZodString>;
1536
+ education: z.ZodOptional<z.ZodString>;
1537
+ food: z.ZodOptional<z.ZodString>;
1538
+ health: z.ZodOptional<z.ZodString>;
1539
+ icon: z.ZodOptional<z.ZodString>;
1540
+ label: z.ZodOptional<z.ZodString>;
1541
+ lodging: z.ZodOptional<z.ZodString>;
1542
+ services: z.ZodOptional<z.ZodString>;
1543
+ shopping: z.ZodOptional<z.ZodString>;
1544
+ transit: z.ZodOptional<z.ZodString>;
1545
+ }, z.core.$strict>>;
1260
1546
  roads: z.ZodOptional<z.ZodObject<{
1261
1547
  bridge: z.ZodOptional<z.ZodString>;
1262
1548
  casing: z.ZodOptional<z.ZodString>;
@@ -1317,6 +1603,7 @@ declare const tileflowProjectSchema: z.ZodObject<{
1317
1603
  country: z.ZodOptional<z.ZodString>;
1318
1604
  halo: z.ZodOptional<z.ZodString>;
1319
1605
  muted: z.ZodOptional<z.ZodString>;
1606
+ neighborhood: z.ZodOptional<z.ZodString>;
1320
1607
  poi: z.ZodOptional<z.ZodString>;
1321
1608
  settlement: z.ZodOptional<z.ZodString>;
1322
1609
  }, z.core.$strict>>;
@@ -1335,6 +1622,20 @@ declare const tileflowProjectSchema: z.ZodObject<{
1335
1622
  industrial: z.ZodOptional<z.ZodString>;
1336
1623
  residential: z.ZodOptional<z.ZodString>;
1337
1624
  }, z.core.$strict>>;
1625
+ poi: z.ZodOptional<z.ZodObject<{
1626
+ halo: z.ZodOptional<z.ZodString>;
1627
+ coffee: z.ZodOptional<z.ZodString>;
1628
+ culture: z.ZodOptional<z.ZodString>;
1629
+ education: z.ZodOptional<z.ZodString>;
1630
+ food: z.ZodOptional<z.ZodString>;
1631
+ health: z.ZodOptional<z.ZodString>;
1632
+ icon: z.ZodOptional<z.ZodString>;
1633
+ label: z.ZodOptional<z.ZodString>;
1634
+ lodging: z.ZodOptional<z.ZodString>;
1635
+ services: z.ZodOptional<z.ZodString>;
1636
+ shopping: z.ZodOptional<z.ZodString>;
1637
+ transit: z.ZodOptional<z.ZodString>;
1638
+ }, z.core.$strict>>;
1338
1639
  roads: z.ZodOptional<z.ZodObject<{
1339
1640
  bridge: z.ZodOptional<z.ZodString>;
1340
1641
  casing: z.ZodOptional<z.ZodString>;
@@ -1439,6 +1740,7 @@ declare const tileflowProjectSchema: z.ZodObject<{
1439
1740
  country: z.ZodOptional<z.ZodString>;
1440
1741
  halo: z.ZodOptional<z.ZodString>;
1441
1742
  muted: z.ZodOptional<z.ZodString>;
1743
+ neighborhood: z.ZodOptional<z.ZodString>;
1442
1744
  poi: z.ZodOptional<z.ZodString>;
1443
1745
  settlement: z.ZodOptional<z.ZodString>;
1444
1746
  }, z.core.$strict>>;
@@ -1457,6 +1759,20 @@ declare const tileflowProjectSchema: z.ZodObject<{
1457
1759
  industrial: z.ZodOptional<z.ZodString>;
1458
1760
  residential: z.ZodOptional<z.ZodString>;
1459
1761
  }, z.core.$strict>>;
1762
+ poi: z.ZodOptional<z.ZodObject<{
1763
+ halo: z.ZodOptional<z.ZodString>;
1764
+ coffee: z.ZodOptional<z.ZodString>;
1765
+ culture: z.ZodOptional<z.ZodString>;
1766
+ education: z.ZodOptional<z.ZodString>;
1767
+ food: z.ZodOptional<z.ZodString>;
1768
+ health: z.ZodOptional<z.ZodString>;
1769
+ icon: z.ZodOptional<z.ZodString>;
1770
+ label: z.ZodOptional<z.ZodString>;
1771
+ lodging: z.ZodOptional<z.ZodString>;
1772
+ services: z.ZodOptional<z.ZodString>;
1773
+ shopping: z.ZodOptional<z.ZodString>;
1774
+ transit: z.ZodOptional<z.ZodString>;
1775
+ }, z.core.$strict>>;
1460
1776
  roads: z.ZodOptional<z.ZodObject<{
1461
1777
  bridge: z.ZodOptional<z.ZodString>;
1462
1778
  casing: z.ZodOptional<z.ZodString>;
@@ -1517,6 +1833,7 @@ declare const tileflowProjectSchema: z.ZodObject<{
1517
1833
  country: z.ZodOptional<z.ZodString>;
1518
1834
  halo: z.ZodOptional<z.ZodString>;
1519
1835
  muted: z.ZodOptional<z.ZodString>;
1836
+ neighborhood: z.ZodOptional<z.ZodString>;
1520
1837
  poi: z.ZodOptional<z.ZodString>;
1521
1838
  settlement: z.ZodOptional<z.ZodString>;
1522
1839
  }, z.core.$strict>>;
@@ -1535,6 +1852,20 @@ declare const tileflowProjectSchema: z.ZodObject<{
1535
1852
  industrial: z.ZodOptional<z.ZodString>;
1536
1853
  residential: z.ZodOptional<z.ZodString>;
1537
1854
  }, z.core.$strict>>;
1855
+ poi: z.ZodOptional<z.ZodObject<{
1856
+ halo: z.ZodOptional<z.ZodString>;
1857
+ coffee: z.ZodOptional<z.ZodString>;
1858
+ culture: z.ZodOptional<z.ZodString>;
1859
+ education: z.ZodOptional<z.ZodString>;
1860
+ food: z.ZodOptional<z.ZodString>;
1861
+ health: z.ZodOptional<z.ZodString>;
1862
+ icon: z.ZodOptional<z.ZodString>;
1863
+ label: z.ZodOptional<z.ZodString>;
1864
+ lodging: z.ZodOptional<z.ZodString>;
1865
+ services: z.ZodOptional<z.ZodString>;
1866
+ shopping: z.ZodOptional<z.ZodString>;
1867
+ transit: z.ZodOptional<z.ZodString>;
1868
+ }, z.core.$strict>>;
1538
1869
  roads: z.ZodOptional<z.ZodObject<{
1539
1870
  bridge: z.ZodOptional<z.ZodString>;
1540
1871
  casing: z.ZodOptional<z.ZodString>;
@@ -1561,6 +1892,53 @@ declare const tileflowProjectSchema: z.ZodObject<{
1561
1892
  }, z.core.$strict>>;
1562
1893
  }, z.core.$strict>]>>;
1563
1894
  modules: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1895
+ type: z.ZodLiteral<"labels">;
1896
+ language: z.ZodOptional<z.ZodString>;
1897
+ places: z.ZodOptional<z.ZodEnum<{
1898
+ balanced: "balanced";
1899
+ none: "none";
1900
+ minimal: "minimal";
1901
+ detailed: "detailed";
1902
+ }>>;
1903
+ preset: z.ZodOptional<z.ZodEnum<{
1904
+ balanced: "balanced";
1905
+ none: "none";
1906
+ essential: "essential";
1907
+ full: "full";
1908
+ }>>;
1909
+ roads: z.ZodOptional<z.ZodEnum<{
1910
+ balanced: "balanced";
1911
+ none: "none";
1912
+ minimal: "minimal";
1913
+ detailed: "detailed";
1914
+ }>>;
1915
+ water: z.ZodOptional<z.ZodEnum<{
1916
+ balanced: "balanced";
1917
+ none: "none";
1918
+ minimal: "minimal";
1919
+ detailed: "detailed";
1920
+ }>>;
1921
+ }, z.core.$strict>, z.ZodObject<{
1922
+ type: z.ZodLiteral<"poi">;
1923
+ categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
1924
+ icons: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
1925
+ essential: "essential";
1926
+ full: "full";
1927
+ }>]>>;
1928
+ labels: z.ZodOptional<z.ZodEnum<{
1929
+ balanced: "balanced";
1930
+ none: "none";
1931
+ full: "full";
1932
+ minimal: "minimal";
1933
+ }>>;
1934
+ minZoom: z.ZodOptional<z.ZodNumber>;
1935
+ preset: z.ZodOptional<z.ZodEnum<{
1936
+ balanced: "balanced";
1937
+ none: "none";
1938
+ full: "full";
1939
+ minimal: "minimal";
1940
+ }>>;
1941
+ }, z.core.$strict>, z.ZodObject<{
1564
1942
  type: z.ZodLiteral<"roads">;
1565
1943
  density: z.ZodOptional<z.ZodEnum<{
1566
1944
  clean: "clean";
@@ -1640,6 +2018,7 @@ declare const tileflowProjectSchema: z.ZodObject<{
1640
2018
  country: z.ZodOptional<z.ZodString>;
1641
2019
  halo: z.ZodOptional<z.ZodString>;
1642
2020
  muted: z.ZodOptional<z.ZodString>;
2021
+ neighborhood: z.ZodOptional<z.ZodString>;
1643
2022
  poi: z.ZodOptional<z.ZodString>;
1644
2023
  settlement: z.ZodOptional<z.ZodString>;
1645
2024
  }, z.core.$strict>>;
@@ -1658,6 +2037,20 @@ declare const tileflowProjectSchema: z.ZodObject<{
1658
2037
  industrial: z.ZodOptional<z.ZodString>;
1659
2038
  residential: z.ZodOptional<z.ZodString>;
1660
2039
  }, z.core.$strict>>;
2040
+ poi: z.ZodOptional<z.ZodObject<{
2041
+ halo: z.ZodOptional<z.ZodString>;
2042
+ coffee: z.ZodOptional<z.ZodString>;
2043
+ culture: z.ZodOptional<z.ZodString>;
2044
+ education: z.ZodOptional<z.ZodString>;
2045
+ food: z.ZodOptional<z.ZodString>;
2046
+ health: z.ZodOptional<z.ZodString>;
2047
+ icon: z.ZodOptional<z.ZodString>;
2048
+ label: z.ZodOptional<z.ZodString>;
2049
+ lodging: z.ZodOptional<z.ZodString>;
2050
+ services: z.ZodOptional<z.ZodString>;
2051
+ shopping: z.ZodOptional<z.ZodString>;
2052
+ transit: z.ZodOptional<z.ZodString>;
2053
+ }, z.core.$strict>>;
1661
2054
  roads: z.ZodOptional<z.ZodObject<{
1662
2055
  bridge: z.ZodOptional<z.ZodString>;
1663
2056
  casing: z.ZodOptional<z.ZodString>;
@@ -1731,6 +2124,7 @@ declare const tileflowProjectSchema: z.ZodObject<{
1731
2124
  url: z.ZodOptional<z.ZodURL>;
1732
2125
  }, z.core.$strict>]>>;
1733
2126
  glyphs: z.ZodOptional<z.ZodString>;
2127
+ icons: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1734
2128
  sprite: z.ZodOptional<z.ZodString>;
1735
2129
  tiles: z.ZodOptional<z.ZodObject<{
1736
2130
  sourceId: z.ZodOptional<z.ZodString>;
@@ -1765,8 +2159,12 @@ declare function defineTileflow<const TConfig extends TileflowProjectConfig>(con
1765
2159
 
1766
2160
  declare function osm(options?: TileflowOsmBasemapOptions): TileflowOsmBasemapConfig;
1767
2161
 
2162
+ declare function labels(options?: TileflowLabelsModuleOptions): TileflowLabelsModuleConfig;
2163
+
2164
+ declare function poi(options?: TileflowPoiModuleOptions): TileflowPoiModuleConfig;
2165
+
1768
2166
  declare function roads(options?: TileflowRoadsModuleOptions): TileflowRoadsModuleConfig;
1769
2167
 
1770
2168
  declare function styleOverride(options?: TileflowStyleOverrideOptions): TileflowStyleOverrideModuleConfig;
1771
2169
 
1772
- export { type MapLibreStyle, type TileflowAdvancedColorConfig, type TileflowBaseColors, type TileflowBasemapConfig, type TileflowBoundaryColorConfig, type TileflowBuildingColorConfig, type TileflowBuildings, type TileflowColor, type TileflowColorConfig, type TileflowColors, type TileflowConfig, type TileflowDensity, type TileflowFontWeight, type TileflowFonts, type TileflowHydroColorConfig, type TileflowLabelColorConfig, type TileflowLabels, type TileflowLandcoverColorConfig, type TileflowLanduseColorConfig, type TileflowManifest, type TileflowMapConfig, type TileflowModuleConfig, type TileflowOsmBasemapConfig, type TileflowOsmBasemapOptions, type TileflowPoi, type TileflowProjectConfig, type TileflowProjectThemes, type TileflowRoadColorConfig, type TileflowRoads, type TileflowRoadsModuleConfig, type TileflowRoadsModuleOptions, type TileflowRoadsModulePreset, type TileflowSourceLayers, type TileflowStyleLayerOverride, type TileflowStyleOptions, type TileflowStyleOverrideModuleConfig, type TileflowStyleOverrideOptions, type TileflowTerrain, type TileflowTerrainConfig, type TileflowTerrainEncoding, type TileflowTerrainMode, type TileflowTheme, type TileflowThemeConfig, type TileflowThemeMode, type TileflowThemeModulesConfig, type TileflowThemeName, type TileflowTiles, type TileflowTilesetConfig, type TileflowTypography, type TileflowViewConfig, type ValidationMessage, type ValidationResult, configSchema, createManifest, createStyle, createStyleFromProject, defineTileflow, getDefaultColors, osm, parseTileflowMap, parseTileflowProject, roads, styleOverride, tileflowMapSchema, tileflowProjectSchema, tileflowThemeSchema, validateConfig, validateTileflowConfig };
2170
+ export { type MapLibreSprite, type MapLibreStyle, type TileflowAdvancedColorConfig, type TileflowBaseColors, type TileflowBasemapConfig, type TileflowBoundaryColorConfig, type TileflowBuildingColorConfig, type TileflowBuildings, type TileflowColor, type TileflowColorConfig, type TileflowColors, type TileflowConfig, type TileflowDensity, type TileflowFontWeight, type TileflowFonts, type TileflowHydroColorConfig, type TileflowIconSet, type TileflowIconSetConfig, type TileflowLabelColorConfig, type TileflowLabelDensity, type TileflowLabelLanguage, type TileflowLabels, type TileflowLabelsModuleConfig, type TileflowLabelsModuleOptions, type TileflowLandcoverColorConfig, type TileflowLanduseColorConfig, type TileflowManifest, type TileflowMapConfig, type TileflowModuleConfig, type TileflowOsmBasemapConfig, type TileflowOsmBasemapOptions, type TileflowPoi, type TileflowPoiCategory, type TileflowPoiColorConfig, type TileflowPoiIcons, type TileflowPoiLabels, type TileflowPoiModuleConfig, type TileflowPoiModuleOptions, type TileflowProjectConfig, type TileflowProjectIconSets, type TileflowProjectThemes, type TileflowRoadColorConfig, type TileflowRoads, type TileflowRoadsModuleConfig, type TileflowRoadsModuleOptions, type TileflowRoadsModulePreset, type TileflowSourceLayers, type TileflowStyleLayerOverride, type TileflowStyleOptions, type TileflowStyleOverrideModuleConfig, type TileflowStyleOverrideOptions, type TileflowTerrain, type TileflowTerrainConfig, type TileflowTerrainEncoding, type TileflowTerrainMode, type TileflowTheme, type TileflowThemeConfig, type TileflowThemeMode, type TileflowThemeModulesConfig, type TileflowThemeName, type TileflowTiles, type TileflowTilesetConfig, type TileflowTypography, type TileflowViewConfig, type ValidationMessage, type ValidationResult, configSchema, createManifest, createStyle, createStyleFromProject, defineTileflow, getDefaultColors, labels, osm, parseTileflowMap, parseTileflowProject, poi, roads, styleOverride, tileflowMapSchema, tileflowProjectSchema, tileflowThemeSchema, validateConfig, validateTileflowConfig };