@tileflow/maps 0.1.0-alpha.3 → 0.1.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +123 -186
- package/THIRD_PARTY_NOTICES.md +64 -1
- package/assets/README.md +24 -5
- package/assets/civica/README.md +35 -0
- package/assets/civica/fonts/BarlowSemiCondensed-Regular.ttf +0 -0
- package/assets/civica/fonts/BarlowSemiCondensed-SemiBold.ttf +0 -0
- package/assets/civica/fonts/DMSerifText-Italic.ttf +0 -0
- package/assets/civica/fonts/DMSerifText-Regular.ttf +0 -0
- package/assets/civica/fonts/LICENSE-BarlowSemiCondensed.txt +93 -0
- package/assets/civica/fonts/LICENSE-NotoSans.txt +94 -0
- package/assets/civica/fonts/LICENSE.txt +293 -0
- package/assets/civica/fonts/NotoSans-Regular.ttf +0 -0
- package/assets/civica/fonts/OFL.txt +93 -0
- package/assets/civica/fonts/README.md +42 -0
- package/assets/civica/icons/civica-industrial-hatch.pattern.svg +5 -0
- package/assets/civica/icons/civica-orchard.pattern.svg +16 -0
- package/assets/civica/icons/civica-paper-grain.pattern.svg +26 -0
- package/assets/civica/icons/civica-park-groves.pattern.svg +13 -0
- package/assets/civica/icons/civica-poi-airport.svg +6 -0
- package/assets/civica/icons/civica-poi-civic-star.svg +5 -0
- package/assets/civica/icons/civica-poi-dot.svg +5 -0
- package/assets/civica/icons/civica-poi-food.svg +7 -0
- package/assets/civica/icons/civica-poi-garden.svg +16 -0
- package/assets/civica/icons/civica-poi-hospital.svg +5 -0
- package/assets/civica/icons/civica-poi-lodging.svg +8 -0
- package/assets/civica/icons/civica-poi-monument.svg +7 -0
- package/assets/civica/icons/civica-poi-museum.svg +7 -0
- package/assets/civica/icons/civica-poi-shopping.svg +8 -0
- package/assets/civica/icons/civica-poi-transit.svg +10 -0
- package/assets/civica/icons/civica-water-lines.pattern.svg +7 -0
- package/assets/super-tile-world/README.md +45 -0
- package/assets/super-tile-world/fonts/LICENSE-NotoSans.txt +94 -0
- package/assets/super-tile-world/fonts/LICENSE-PixelifySans.txt +93 -0
- package/assets/super-tile-world/fonts/LICENSE-PressStart2P.txt +93 -0
- package/assets/super-tile-world/fonts/LICENSE.txt +289 -0
- package/assets/super-tile-world/fonts/NotoSans-Regular.ttf +0 -0
- package/assets/super-tile-world/fonts/PixelifySans-Regular.ttf +0 -0
- package/assets/super-tile-world/fonts/PixelifySans-SemiBold.ttf +0 -0
- package/assets/super-tile-world/fonts/README.md +49 -0
- package/assets/super-tile-world/fonts/TileWorldArcade-Regular.ttf +0 -0
- package/assets/super-tile-world/icons/stw-airship.svg +4 -0
- package/assets/super-tile-world/icons/stw-book.svg +4 -0
- package/assets/super-tile-world/icons/stw-brick.pattern.svg +4 -0
- package/assets/super-tile-world/icons/stw-castle.svg +4 -0
- package/assets/super-tile-world/icons/stw-coin.svg +4 -0
- package/assets/super-tile-world/icons/stw-farmland.pattern.svg +4 -0
- package/assets/super-tile-world/icons/stw-flag.svg +4 -0
- package/assets/super-tile-world/icons/stw-flower.svg +4 -0
- package/assets/super-tile-world/icons/stw-forest.pattern.svg +4 -0
- package/assets/super-tile-world/icons/stw-ghost-house.svg +4 -0
- package/assets/super-tile-world/icons/stw-grass.pattern.svg +4 -0
- package/assets/super-tile-world/icons/stw-heart.svg +4 -0
- package/assets/super-tile-world/icons/stw-hill.svg +4 -0
- package/assets/super-tile-world/icons/stw-level-node.svg +4 -0
- package/assets/super-tile-world/icons/stw-meadow.pattern.svg +36 -0
- package/assets/super-tile-world/icons/stw-mushroom-house.svg +4 -0
- package/assets/super-tile-world/icons/stw-mushroom.svg +4 -0
- package/assets/super-tile-world/icons/stw-question-block.svg +4 -0
- package/assets/super-tile-world/icons/stw-sand.pattern.svg +4 -0
- package/assets/super-tile-world/icons/stw-star.svg +4 -0
- package/assets/super-tile-world/icons/stw-tree.svg +4 -0
- package/assets/super-tile-world/icons/stw-warp-pipe.svg +4 -0
- package/assets/super-tile-world/icons/stw-water.pattern.svg +4 -0
- package/dist/index.d.ts +177 -8
- package/dist/index.js +3951 -1987
- package/docs/design-and-assets.md +263 -0
- package/package.json +8 -4
package/dist/index.d.ts
CHANGED
|
@@ -41,6 +41,12 @@ declare const baedekerIcons: Readonly<{
|
|
|
41
41
|
package: string;
|
|
42
42
|
path: string;
|
|
43
43
|
}>;
|
|
44
|
+
/** Package-owned Cívica print textures and landmark symbols. */
|
|
45
|
+
declare const civicaIcons: Readonly<{
|
|
46
|
+
kind: "package-directory";
|
|
47
|
+
package: string;
|
|
48
|
+
path: string;
|
|
49
|
+
}>;
|
|
44
50
|
/** Package-owned San Francisto blueprint patterns and technical symbol. */
|
|
45
51
|
declare const sanFrancistoIcons: Readonly<{
|
|
46
52
|
kind: "package-directory";
|
|
@@ -65,6 +71,23 @@ declare const siegfriedIcons: Readonly<{
|
|
|
65
71
|
package: string;
|
|
66
72
|
path: string;
|
|
67
73
|
}>;
|
|
74
|
+
/** Package-owned Cívica print lettering and its license. */
|
|
75
|
+
declare const civicaFonts: Readonly<{
|
|
76
|
+
kind: "package-directory";
|
|
77
|
+
package: string;
|
|
78
|
+
path: string;
|
|
79
|
+
}>;
|
|
80
|
+
/** Package-owned Super Tile World pixel sprites, terrain tiles, and lettering. */
|
|
81
|
+
declare const superTileWorldIcons: Readonly<{
|
|
82
|
+
kind: "package-directory";
|
|
83
|
+
package: string;
|
|
84
|
+
path: string;
|
|
85
|
+
}>;
|
|
86
|
+
declare const superTileWorldFonts: Readonly<{
|
|
87
|
+
kind: "package-directory";
|
|
88
|
+
package: string;
|
|
89
|
+
path: string;
|
|
90
|
+
}>;
|
|
68
91
|
/** Package-owned Cyberpunk web fonts and their license. */
|
|
69
92
|
declare const cyberpunkFonts: Readonly<{
|
|
70
93
|
kind: "package-directory";
|
|
@@ -206,13 +229,80 @@ declare const baedeker: {
|
|
|
206
229
|
readonly zoom: 15.25;
|
|
207
230
|
};
|
|
208
231
|
};
|
|
232
|
+
declare const civica: {
|
|
233
|
+
readonly id: "civica";
|
|
234
|
+
readonly name: "Cívica";
|
|
235
|
+
readonly version: 1;
|
|
236
|
+
readonly data: {
|
|
237
|
+
readonly generation: "v1";
|
|
238
|
+
readonly selection: {
|
|
239
|
+
readonly kind: "current";
|
|
240
|
+
readonly product: "world-v1";
|
|
241
|
+
};
|
|
242
|
+
readonly type: "tileflow-world";
|
|
243
|
+
};
|
|
244
|
+
readonly fonts: readonly [Readonly<{
|
|
245
|
+
kind: "package-directory";
|
|
246
|
+
package: string;
|
|
247
|
+
path: string;
|
|
248
|
+
}>];
|
|
249
|
+
readonly icons: readonly [Readonly<{
|
|
250
|
+
kind: "package-directory";
|
|
251
|
+
package: string;
|
|
252
|
+
path: string;
|
|
253
|
+
}>];
|
|
254
|
+
readonly themes: {
|
|
255
|
+
readonly light: _tileflow_core.TileflowTheme;
|
|
256
|
+
};
|
|
257
|
+
readonly defaultTheme: "light";
|
|
258
|
+
readonly projection: "mercator";
|
|
259
|
+
readonly terrain: "none";
|
|
260
|
+
readonly view: {
|
|
261
|
+
readonly center: readonly [-77.0365, 38.89];
|
|
262
|
+
readonly zoom: 13.4;
|
|
263
|
+
readonly bearing: 0;
|
|
264
|
+
readonly pitch: 0;
|
|
265
|
+
};
|
|
266
|
+
readonly modules: {
|
|
267
|
+
readonly land: _tileflow_core.TileflowModuleWithRenderStack<_tileflow_core.TileflowLandModuleOptions & {
|
|
268
|
+
type: "land";
|
|
269
|
+
}, {
|
|
270
|
+
readonly parkGroves: _tileflow_core.TileflowRenderPass;
|
|
271
|
+
readonly woodlandGroves: _tileflow_core.TileflowRenderPass;
|
|
272
|
+
readonly orchardRows: _tileflow_core.TileflowRenderPass;
|
|
273
|
+
readonly industrialHatch: _tileflow_core.TileflowRenderPass;
|
|
274
|
+
readonly paperGrain: _tileflow_core.TileflowRenderPass;
|
|
275
|
+
}>;
|
|
276
|
+
readonly water: _tileflow_core.TileflowModuleWithRenderStack<_tileflow_core.TileflowWaterModuleOptions & {
|
|
277
|
+
type: "water";
|
|
278
|
+
}, {
|
|
279
|
+
readonly waterLines: _tileflow_core.TileflowRenderPass;
|
|
280
|
+
}>;
|
|
281
|
+
readonly buildings: _tileflow_core.TileflowModuleWithRenderStack<_tileflow_core.TileflowBuildingsModuleOptions & {
|
|
282
|
+
type: "buildings";
|
|
283
|
+
}, {
|
|
284
|
+
readonly districtFootprints: _tileflow_core.TileflowRenderPass;
|
|
285
|
+
}>;
|
|
286
|
+
readonly roads: _tileflow_core.TileflowRoadsModuleConfig;
|
|
287
|
+
readonly transit: _tileflow_core.TileflowTransitModuleConfig;
|
|
288
|
+
readonly boundaries: _tileflow_core.TileflowBoundariesModuleConfig;
|
|
289
|
+
readonly labels: _tileflow_core.TileflowLabelsModuleConfig;
|
|
290
|
+
readonly poi: _tileflow_core.TileflowModuleWithRenderStack<_tileflow_core.TileflowPoiModuleConfig, {
|
|
291
|
+
[k: string]: _tileflow_core.TileflowRenderTargetRefinement;
|
|
292
|
+
}>;
|
|
293
|
+
readonly vegetation: _tileflow_core.TileflowVegetationModuleConfig;
|
|
294
|
+
readonly aeroways: _tileflow_core.TileflowAerowaysModuleConfig;
|
|
295
|
+
readonly landforms: _tileflow_core.TileflowLandformsModuleConfig;
|
|
296
|
+
readonly addresses: _tileflow_core.TileflowAddressesModuleConfig;
|
|
297
|
+
};
|
|
298
|
+
};
|
|
209
299
|
declare const streets: {
|
|
210
300
|
readonly id: "streets";
|
|
211
301
|
readonly version: 1;
|
|
212
302
|
readonly name: "Streets";
|
|
213
303
|
readonly glyphs: {
|
|
214
304
|
readonly kind: "url";
|
|
215
|
-
readonly url: "https://api.tileflow.dev/
|
|
305
|
+
readonly url: "https://api.tileflow.dev/base/33d4de5e8086d9d629d67d3f39fedb87e23686c4c1ac653c27e2a52aee9d00b3/glyphs/{fontstack}/{range}.pbf";
|
|
216
306
|
readonly fontStacks: readonly ["Noto Sans Regular", "Noto Sans Bold"];
|
|
217
307
|
};
|
|
218
308
|
readonly themes: Readonly<{
|
|
@@ -299,7 +389,7 @@ declare const ferraris: {
|
|
|
299
389
|
};
|
|
300
390
|
readonly glyphs: {
|
|
301
391
|
readonly kind: "url";
|
|
302
|
-
readonly url: "https://api.tileflow.dev/
|
|
392
|
+
readonly url: "https://api.tileflow.dev/base/33d4de5e8086d9d629d67d3f39fedb87e23686c4c1ac653c27e2a52aee9d00b3/glyphs/{fontstack}/{range}.pbf";
|
|
303
393
|
readonly fontStacks: readonly ["Noto Sans Regular", "Noto Sans Bold"];
|
|
304
394
|
};
|
|
305
395
|
readonly icons: readonly [Readonly<{
|
|
@@ -369,7 +459,7 @@ declare const harad: {
|
|
|
369
459
|
};
|
|
370
460
|
readonly glyphs: {
|
|
371
461
|
readonly kind: "url";
|
|
372
|
-
readonly url: "https://api.tileflow.dev/
|
|
462
|
+
readonly url: "https://api.tileflow.dev/base/33d4de5e8086d9d629d67d3f39fedb87e23686c4c1ac653c27e2a52aee9d00b3/glyphs/{fontstack}/{range}.pbf";
|
|
373
463
|
readonly fontStacks: readonly ["Noto Sans Regular", "Noto Sans Bold"];
|
|
374
464
|
};
|
|
375
465
|
readonly icons: readonly [Readonly<{
|
|
@@ -513,7 +603,7 @@ declare const sanFrancisto: {
|
|
|
513
603
|
};
|
|
514
604
|
readonly glyphs: {
|
|
515
605
|
readonly kind: "url";
|
|
516
|
-
readonly url: "https://api.tileflow.dev/
|
|
606
|
+
readonly url: "https://api.tileflow.dev/base/33d4de5e8086d9d629d67d3f39fedb87e23686c4c1ac653c27e2a52aee9d00b3/glyphs/{fontstack}/{range}.pbf";
|
|
517
607
|
readonly fontStacks: readonly ["Noto Sans Regular", "Noto Sans Bold"];
|
|
518
608
|
};
|
|
519
609
|
readonly icons: readonly [Readonly<{
|
|
@@ -575,7 +665,6 @@ declare const sanFrancisto: {
|
|
|
575
665
|
readonly footprintHatch: _tileflow_core.TileflowRenderPass;
|
|
576
666
|
readonly measuredEdge: _tileflow_core.TileflowRenderPass;
|
|
577
667
|
readonly prominentOutline: _tileflow_core.TileflowRenderPass;
|
|
578
|
-
readonly buildingAnnotations: _tileflow_core.TileflowRenderPass;
|
|
579
668
|
readonly heightAnnotations: _tileflow_core.TileflowRenderPass;
|
|
580
669
|
}>;
|
|
581
670
|
readonly labels: _tileflow_core.TileflowLabelsModuleConfig;
|
|
@@ -751,7 +840,7 @@ declare const soundings: {
|
|
|
751
840
|
};
|
|
752
841
|
readonly glyphs: {
|
|
753
842
|
readonly kind: "url";
|
|
754
|
-
readonly url: "https://api.tileflow.dev/
|
|
843
|
+
readonly url: "https://api.tileflow.dev/base/33d4de5e8086d9d629d67d3f39fedb87e23686c4c1ac653c27e2a52aee9d00b3/glyphs/{fontstack}/{range}.pbf";
|
|
755
844
|
readonly fontStacks: readonly ["Noto Sans Regular", "Noto Sans Bold"];
|
|
756
845
|
};
|
|
757
846
|
readonly icons: readonly [Readonly<{
|
|
@@ -898,7 +987,7 @@ declare const verdant: {
|
|
|
898
987
|
};
|
|
899
988
|
readonly glyphs: {
|
|
900
989
|
readonly kind: "url";
|
|
901
|
-
readonly url: "https://api.tileflow.dev/
|
|
990
|
+
readonly url: "https://api.tileflow.dev/base/33d4de5e8086d9d629d67d3f39fedb87e23686c4c1ac653c27e2a52aee9d00b3/glyphs/{fontstack}/{range}.pbf";
|
|
902
991
|
readonly fontStacks: readonly ["Noto Sans Regular", "Noto Sans Bold"];
|
|
903
992
|
};
|
|
904
993
|
readonly icons: readonly [Readonly<{
|
|
@@ -957,5 +1046,85 @@ declare const verdant: {
|
|
|
957
1046
|
readonly zoom: 14;
|
|
958
1047
|
};
|
|
959
1048
|
};
|
|
1049
|
+
declare const superTileWorld: {
|
|
1050
|
+
readonly id: "super-tile-world";
|
|
1051
|
+
readonly name: "Super Tile World";
|
|
1052
|
+
readonly version: 1;
|
|
1053
|
+
readonly data: {
|
|
1054
|
+
readonly type: "tileflow-world";
|
|
1055
|
+
readonly generation: "v1";
|
|
1056
|
+
readonly selection: {
|
|
1057
|
+
readonly kind: "current";
|
|
1058
|
+
readonly product: "world-v1";
|
|
1059
|
+
};
|
|
1060
|
+
};
|
|
1061
|
+
readonly icons: readonly [Readonly<{
|
|
1062
|
+
kind: "package-directory";
|
|
1063
|
+
package: string;
|
|
1064
|
+
path: string;
|
|
1065
|
+
}>];
|
|
1066
|
+
readonly fonts: readonly [Readonly<{
|
|
1067
|
+
kind: "package-directory";
|
|
1068
|
+
package: string;
|
|
1069
|
+
path: string;
|
|
1070
|
+
}>];
|
|
1071
|
+
readonly themes: {
|
|
1072
|
+
readonly light: _tileflow_core.TileflowTheme;
|
|
1073
|
+
};
|
|
1074
|
+
readonly defaultTheme: "light";
|
|
1075
|
+
readonly projection: "mercator";
|
|
1076
|
+
readonly terrain: "none";
|
|
1077
|
+
readonly view: {
|
|
1078
|
+
readonly center: readonly [-3.6875, 40.4167];
|
|
1079
|
+
readonly zoom: 14.5;
|
|
1080
|
+
readonly pitch: 0;
|
|
1081
|
+
readonly bearing: 0;
|
|
1082
|
+
};
|
|
1083
|
+
readonly modules: {
|
|
1084
|
+
readonly land: _tileflow_core.TileflowModuleWithRenderStack<_tileflow_core.TileflowLandModuleOptions & {
|
|
1085
|
+
type: "land";
|
|
1086
|
+
}, {
|
|
1087
|
+
readonly worldTufts: _tileflow_core.TileflowRenderPass;
|
|
1088
|
+
readonly parkCliff: _tileflow_core.TileflowRenderPass;
|
|
1089
|
+
readonly parkCliffEdge: _tileflow_core.TileflowRenderPass;
|
|
1090
|
+
readonly parkGarden: _tileflow_core.TileflowRenderPass;
|
|
1091
|
+
readonly forestCanopy: _tileflow_core.TileflowRenderPass;
|
|
1092
|
+
readonly farmTiles: _tileflow_core.TileflowRenderPass;
|
|
1093
|
+
readonly sandPixels: _tileflow_core.TileflowRenderPass;
|
|
1094
|
+
}>;
|
|
1095
|
+
readonly water: _tileflow_core.TileflowModuleWithRenderStack<_tileflow_core.TileflowWaterModuleOptions & {
|
|
1096
|
+
type: "water";
|
|
1097
|
+
}, {
|
|
1098
|
+
readonly coastInk: _tileflow_core.TileflowRenderPass;
|
|
1099
|
+
readonly coastSand: _tileflow_core.TileflowRenderPass;
|
|
1100
|
+
readonly waves: _tileflow_core.TileflowRenderPass;
|
|
1101
|
+
}>;
|
|
1102
|
+
readonly buildings: _tileflow_core.TileflowModuleWithRenderStack<_tileflow_core.TileflowBuildingsModuleOptions & {
|
|
1103
|
+
type: "buildings";
|
|
1104
|
+
}, {
|
|
1105
|
+
readonly districtBlocks: _tileflow_core.TileflowRenderPass;
|
|
1106
|
+
readonly platformSides: _tileflow_core.TileflowRenderPass;
|
|
1107
|
+
readonly brickRoofs: _tileflow_core.TileflowRenderPass;
|
|
1108
|
+
}>;
|
|
1109
|
+
readonly roads: _tileflow_core.TileflowModuleWithRenderStack<_tileflow_core.TileflowRoadsModuleConfig, {
|
|
1110
|
+
readonly levelDots: _tileflow_core.TileflowRenderPass;
|
|
1111
|
+
readonly coinTrail: _tileflow_core.TileflowRenderPass;
|
|
1112
|
+
}>;
|
|
1113
|
+
readonly transit: _tileflow_core.TileflowTransitModuleConfig;
|
|
1114
|
+
readonly boundaries: _tileflow_core.TileflowBoundariesModuleConfig;
|
|
1115
|
+
readonly labels: _tileflow_core.TileflowLabelsModuleConfig;
|
|
1116
|
+
readonly poi: _tileflow_core.TileflowModuleWithRenderStack<_tileflow_core.TileflowPoiModuleConfig, {
|
|
1117
|
+
[k: string]: _tileflow_core.TileflowRenderTargetRefinement;
|
|
1118
|
+
}>;
|
|
1119
|
+
readonly vegetation: _tileflow_core.TileflowModuleWithRenderStack<_tileflow_core.TileflowVegetationModuleOptions & {
|
|
1120
|
+
type: "vegetation";
|
|
1121
|
+
}, {
|
|
1122
|
+
readonly pixelTrees: _tileflow_core.TileflowRenderPass;
|
|
1123
|
+
}>;
|
|
1124
|
+
readonly aeroways: _tileflow_core.TileflowAerowaysModuleConfig;
|
|
1125
|
+
readonly landforms: _tileflow_core.TileflowLandformsModuleConfig;
|
|
1126
|
+
readonly addresses: _tileflow_core.TileflowAddressesModuleConfig;
|
|
1127
|
+
};
|
|
1128
|
+
};
|
|
960
1129
|
|
|
961
|
-
export { baedeker, baedekerFonts, baedekerIcons, cyberpunk, cyberpunkFonts, cyberpunkIcons, ferraris, ferrarisIcons, harad, haradIcons, matrix, matrixFonts, matrixIcons, sanFrancisto, sanFrancistoIcons, siegfried, siegfriedFonts, siegfriedIcons, siegfriedThemes, soundings, soundingsIcons, streets, streetsIcons, streetsThemes, verdant, verdantIcons };
|
|
1130
|
+
export { baedeker, baedekerFonts, baedekerIcons, civica, civicaFonts, civicaIcons, cyberpunk, cyberpunkFonts, cyberpunkIcons, ferraris, ferrarisIcons, harad, haradIcons, matrix, matrixFonts, matrixIcons, sanFrancisto, sanFrancistoIcons, siegfried, siegfriedFonts, siegfriedIcons, siegfriedThemes, soundings, soundingsIcons, streets, streetsIcons, streetsThemes, superTileWorld, superTileWorldFonts, superTileWorldIcons, verdant, verdantIcons };
|