@tileflow/maps 0.1.0-alpha.4 → 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 +11 -4
- 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 +103 -4
- package/package.json +7 -4
|
@@ -1,5 +1,102 @@
|
|
|
1
1
|
# Map designs and assets
|
|
2
2
|
|
|
3
|
+
## superTileWorld
|
|
4
|
+
|
|
5
|
+
`superTileWorld` is an independent pixel-art showcase named “Super Tile World”, inspired by the
|
|
6
|
+
playful overworld of Super Mario World. It translates real geographic features into a game board:
|
|
7
|
+
raised green landscapes, layered blue shores, golden routes, block-like buildings, and destination
|
|
8
|
+
sprites. Transit stations become warp pipes, landmarks become castles or stars, and everyday
|
|
9
|
+
places use a coordinated vocabulary of mushrooms, question blocks, coins, hearts, and flags.
|
|
10
|
+
Its own semantic render stacks define the composition; it does not import an existing map or
|
|
11
|
+
post-process screenshots. The normal World geography remains interactive at every zoom.
|
|
12
|
+
Building colors use the published World `building_tone`, not an unpublished building-kind field.
|
|
13
|
+
|
|
14
|
+
The map declares `[superTileWorldIcons]` for sixteen original SVG sprites and seven repeating
|
|
15
|
+
pixel patterns, plus `[superTileWorldFonts]` for local Pixelify Sans Regular and SemiBold detail
|
|
16
|
+
lettering, Tile World Arcade Regular display lettering, and Noto Sans Regular fallback. The small-scale world, district board,
|
|
17
|
+
and close street views use different geometry and label densities. The result intentionally
|
|
18
|
+
prioritizes an expressive showcase over navigation. Asset sources and licenses are documented in
|
|
19
|
+
`assets/super-tile-world/README.md` and `THIRD_PARTY_NOTICES.md`.
|
|
20
|
+
|
|
21
|
+
| Zoom | Showcase treatment |
|
|
22
|
+
| ----- | --------------------------------------------------------------------------------------------- |
|
|
23
|
+
| 0–9 | Pixel display lettering, broad colored landscapes, forest tiles, and layered shores. |
|
|
24
|
+
| 10–14 | City castles and settlement nodes, dotted golden routes, raised gardens, and district blocks. |
|
|
25
|
+
| 15–16 | Building footprints, street labels, and selected destination sprites. |
|
|
26
|
+
| 17–19 | Brick roof texture, pedestrian coin trails, point trees, and supporting destinations. |
|
|
27
|
+
| 20+ | Address detail and larger close-view lettering; decorative coin trails retire. |
|
|
28
|
+
|
|
29
|
+
Platform depth uses ordered, translated 2D fills rather than terrain or building extrusion.
|
|
30
|
+
Optional tree sprites inherit the vegetation anchor, so sources without tree capability omit
|
|
31
|
+
them. POI sprites and names share collision placement. Their selectors retain category,
|
|
32
|
+
filter ranks 0–5, size ranks 0–16, and the producer's minimum zoom. Before z17, featured categories
|
|
33
|
+
admit filter ranks up to 2 and supporting categories stop at 1. At z17, all categories admit ranks
|
|
34
|
+
up to 3; from z18 they admit ranks up to 5, allowing ordinary shops and food destinations to join
|
|
35
|
+
the close street view. Generic transit facilities enter at z18, while real stations can appear earlier. Unranked or invalid candidates are not turned into
|
|
36
|
+
fictional destinations. Airports have a separate airship label, and small secondary culture POIs
|
|
37
|
+
wait until z17. Every decision follows schema-bound fields rather than geographic exceptions.
|
|
38
|
+
|
|
39
|
+
## civica
|
|
40
|
+
|
|
41
|
+
`civica` is a self-contained civic print design named “Cívica”. Pale paper, warm stone blocks,
|
|
42
|
+
olive parkland, blue water, and vermilion landmarks give cities the character of an illustrated
|
|
43
|
+
wall map. Broad urban shapes lead at overview scale; solid building masses, cream streets, and
|
|
44
|
+
selected destinations describe the city. Large italic serif park titles and blue uppercase station
|
|
45
|
+
names anchor the district drawing; smaller parks keep a quieter italic size, and condensed captions
|
|
46
|
+
provide supporting detail. Fine paths and sparse landscape textures enter at closer zooms.
|
|
47
|
+
It declares its complete World data selection,
|
|
48
|
+
modules, render stacks, and theme directly,
|
|
49
|
+
owns its patterns and symbols through `[civicaIcons]`, and selects its own packaged DM Serif Text
|
|
50
|
+
Regular and Italic lettering, Barlow Semi Condensed detail labels, and Noto Sans Regular fallback
|
|
51
|
+
through `[civicaFonts]`. Its graphic direction was informed by the
|
|
52
|
+
[Inside the Beltway Washington DC print](https://www.etsy.com/listing/990932175/inside-the-belt-way-washington-dc).
|
|
53
|
+
The map definition and vector artwork are original Tileflow work; no source map, image pixels,
|
|
54
|
+
illustrations, or third-party style are included.
|
|
55
|
+
|
|
56
|
+
Cívica changes its drawing and label hierarchy with scale:
|
|
57
|
+
|
|
58
|
+
| Zoom | Cartographic treatment |
|
|
59
|
+
| ----- | ------------------------------------------------------------------------------------------------------------- |
|
|
60
|
+
| 0–6 | Continental and country lettering over broad land and water shapes. |
|
|
61
|
+
| 7–11 | Regional roads, settlements, and landscape areas; global landcover fades out by z10. |
|
|
62
|
+
| 12–14 | District names, broad pedestrian promenades, and generalized footprints from z13; eligible POIs use rank 0–1. |
|
|
63
|
+
| 15–17 | Solid building masses and street names; POIs admit rank 2 from z15 and featured rank 3 from z17. |
|
|
64
|
+
| 18–19 | Fine paths and their names enter progressively; trees and sparse botanical textures begin at z19. |
|
|
65
|
+
| 20+ | Address numbers, sidewalks, and quiet industrial texture complete the close street view. |
|
|
66
|
+
|
|
67
|
+
Buildings, park parcels, and water bodies have no outlines. Ordinary surface streets use one cream
|
|
68
|
+
stroke, with broader widths at city and neighborhood scales to separate the printed blocks.
|
|
69
|
+
Motorway, trunk, and bridge casings retain the main transport hierarchy. Pedestrian areas
|
|
70
|
+
and roundabouts omit their extra outline, and tunnel hatches are disabled. Ordinary fine path lines
|
|
71
|
+
are solid: cycleways begin at z17, footways and tracks at z17.5, paths at z18, and steps at z19. The
|
|
72
|
+
corresponding labels wait until z18–20. Water remains a flat color at every zoom, and tree points
|
|
73
|
+
have no stroke.
|
|
74
|
+
|
|
75
|
+
The red building plate selects civic buildings directly and destination buildings only when
|
|
76
|
+
`importanceTier` is at least 3. Tier-2 destinations use darker gray; lower-ranked destinations and
|
|
77
|
+
ordinary buildings share the same warm-gray fill. It uses World `building_tone`; building height
|
|
78
|
+
never determines landmark color.
|
|
79
|
+
The generalized footprint pass ends at z15 with the same opacity at which the
|
|
80
|
+
detail pass begins.
|
|
81
|
+
|
|
82
|
+
POI symbols and names form one collision unit. Each category retains its own filter, and candidates
|
|
83
|
+
must carry the schema-bound `poiCategory`, `poiFilterRank`, and `poiSizeRank` fields (`category`,
|
|
84
|
+
`filter_rank`, and `size_rank` in World V1). Size ranks must be 0–16, filter ranks must be
|
|
85
|
+
nonnegative, and the producer's `minZoom` (`min_zoom`) is honored when present. Landmarks, culture,
|
|
86
|
+
parks, transport, and medical destinations can reach rank 3; other categories stop at rank 2.
|
|
87
|
+
Food, retail, visitor amenities, and lodging begin at z17.5. Generic `public_transit_facility`
|
|
88
|
+
POIs also wait until z17.5, while train stations retain their earlier schedule. Culture, education,
|
|
89
|
+
public-service, and medical POIs with filter rank 2 or higher and size rank 16 enter at z17.5;
|
|
90
|
+
rank-1 destinations and other valid size ranks retain their earlier schedule. These rules preserve
|
|
91
|
+
major stations even when their size rank is 16 and leave room for parks and selected institutions
|
|
92
|
+
at district scale. They use source categories and ranks without place-name or location exceptions.
|
|
93
|
+
Park titles use DM Serif Text Italic, with larger type for size ranks 0–4. Transport uses Barlow
|
|
94
|
+
Semi Condensed SemiBold in uppercase; supporting captions use Barlow Semi Condensed Regular.
|
|
95
|
+
Classic OpenMapTiles data without those category and rank fields renders the base map without
|
|
96
|
+
POIs; Cívica does not infer or retrofit those fields. All five font faces are packaged locally:
|
|
97
|
+
DM Serif Text Regular and Italic, Barlow Semi Condensed Regular and SemiBold, and the Noto Sans
|
|
98
|
+
Regular fallback.
|
|
99
|
+
|
|
3
100
|
## baedeker
|
|
4
101
|
|
|
5
102
|
`baedeker` is a self-contained travel-atlas and town-plan design with open warm paper, fine coral
|
|
@@ -86,6 +183,8 @@ Fine technical road strokes, survey-like uppercase labels, precise building foot
|
|
|
86
183
|
dimensions, and dedicated landscape and water hatches replace naturalistic map color. It declares
|
|
87
184
|
the canonical Noto Sans glyph provider and only `[sanFrancistoIcons]`, whose four original patterns
|
|
88
185
|
and schematic POI node form its complete sprite vocabulary.
|
|
186
|
+
Prominent building height callouts use World `render_height`; the map does not require unpublished
|
|
187
|
+
building names or raw heights.
|
|
89
188
|
|
|
90
189
|
## cyberpunk
|
|
91
190
|
|
|
@@ -146,8 +245,8 @@ must be an explicit dated recalibration rather than an implicit network-dependen
|
|
|
146
245
|
At detailed zooms, the road-bearing official maps round-cap ordinary surface-road and bridge
|
|
147
246
|
feature endpoints so adjacent vector segments overlap their antialiasing fringe instead of exposing
|
|
148
247
|
hairline cuts. Tunnel portals retain butt caps; Streets, Cyberpunk, and Matrix also keep butt caps on
|
|
149
|
-
steps and
|
|
150
|
-
|
|
248
|
+
steps and controlled surface approaches so those structural ends do not protrude into connected
|
|
249
|
+
geometry. Streets pairs its blue/slate road decks with a darker casing that grows from
|
|
151
250
|
1 px at z15 to 2 px at z22; tunnel casings use the compact dashed rhythm of the calibrated reference.
|
|
152
251
|
|
|
153
252
|
A theme is not a loose override cascade. Module styles explicitly reference roles such as
|
|
@@ -160,5 +259,5 @@ font list when the property is omitted. Declaring a list replaces the inherited
|
|
|
160
259
|
directory wins for an exact duplicate ID, and `[]` selects no directories.
|
|
161
260
|
|
|
162
261
|
`@tileflow/maps` has a peer dependency on `@tileflow/core`. Core owns the map language and compiler;
|
|
163
|
-
this package owns the official map definitions, icon and pattern sources,
|
|
164
|
-
Siegfried fonts, and their notices. Core never depends on this package.
|
|
262
|
+
this package owns the official map definitions, icon and pattern sources, Baedeker, Cívica,
|
|
263
|
+
Cyberpunk, Matrix, Siegfried, and Super Tile World fonts, and their notices. Core never depends on this package.
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tileflow/maps",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.5",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
|
-
"description": "Official themed Streets, Baedeker, Ferraris, Härad, Siegfried, Cyberpunk, Matrix, Verdant, Soundings,
|
|
5
|
+
"description": "Official themed Streets, Baedeker, Cívica, Ferraris, Härad, Siegfried, Cyberpunk, Matrix, Verdant, Soundings, San Francisto, and Super Tile World maps for Tileflow.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"homepage": "https://tileflow.dev",
|
|
@@ -23,6 +23,9 @@
|
|
|
23
23
|
"dark-map",
|
|
24
24
|
"cyberpunk",
|
|
25
25
|
"baedeker",
|
|
26
|
+
"civica",
|
|
27
|
+
"super-tile-world",
|
|
28
|
+
"pixel-art",
|
|
26
29
|
"verdant",
|
|
27
30
|
"ferraris",
|
|
28
31
|
"harad",
|
|
@@ -57,12 +60,12 @@
|
|
|
57
60
|
"access": "public"
|
|
58
61
|
},
|
|
59
62
|
"peerDependencies": {
|
|
60
|
-
"@tileflow/core": ">=0.1.0-alpha.
|
|
63
|
+
"@tileflow/core": ">=0.1.0-alpha.27 <0.1.0-beta.0"
|
|
61
64
|
},
|
|
62
65
|
"devDependencies": {
|
|
63
66
|
"@maplibre/maplibre-gl-style-spec": "24.8.5",
|
|
64
67
|
"@maplibre/maplibre-gl-style-spec-v6": "npm:@maplibre/maplibre-gl-style-spec@26.4.2",
|
|
65
|
-
"@tileflow/core": "0.1.0-alpha.
|
|
68
|
+
"@tileflow/core": "0.1.0-alpha.27"
|
|
66
69
|
},
|
|
67
70
|
"scripts": {
|
|
68
71
|
"build": "tsup src/index.ts --format esm --dts --clean --no-splitting",
|