@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
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
# Map designs and assets
|
|
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
|
+
|
|
100
|
+
## baedeker
|
|
101
|
+
|
|
102
|
+
`baedeker` is a self-contained travel-atlas and town-plan design with open warm paper, fine coral
|
|
103
|
+
building and residential hatching, paper-negative streets, dominant black railways, horizontally
|
|
104
|
+
engraved cyan water, ring-stippled gardens, and browser-derived Mapterhorn contours. Travel POIs
|
|
105
|
+
are rendered as compact serif labels without modern pictograms. It declares
|
|
106
|
+
`[baedekerIcons]`, whose eight original Tileflow SVG patterns describe hachures, orchards, paper
|
|
107
|
+
grain, public gardens, residential blocks, sand, water lines, and wetlands, plus
|
|
108
|
+
`[baedekerFonts]`, its own package copy of Cormorant Garamond Regular, SemiBold, and Italic. Its
|
|
109
|
+
visual grammar was informed by the
|
|
110
|
+
[Baedeker / Karl Wagner & Debes collection](https://www.antiquemapsandprints.com/collections/baedeker-karl-wagner-debes)
|
|
111
|
+
and Wikimedia Commons'
|
|
112
|
+
[maps by Karl Baedeker of Italy](https://commons.wikimedia.org/wiki/Category:Maps_by_Karl_Baedeker_of_Italy).
|
|
113
|
+
The package includes no historical scan, raster pixel, historical typeface, legend artwork,
|
|
114
|
+
geospatial data, or source map; the style and patterns are original Tileflow work. The packaged
|
|
115
|
+
Cormorant faces are unmodified upstream font software under the SIL Open Font License 1.1. No
|
|
116
|
+
Mapterhorn terrain tile is packaged or redistributed. Baedeker is an official Tileflow map and is
|
|
117
|
+
not affiliated with or endorsed by Baedeker or Wagner & Debes.
|
|
118
|
+
|
|
119
|
+
## ferraris
|
|
120
|
+
|
|
121
|
+
`ferraris` is a self-contained printed-atlas design. It uses Core's semantic compiler, but
|
|
122
|
+
it does not import or extend the `streets` map and it does not inherit Streets assets. It declares
|
|
123
|
+
only `[ferrarisIcons]`, which contains nine original seamless SVG patterns for paper, cultivated
|
|
124
|
+
land, vegetation, settlements, sand, wetlands, and water. Applications can import it directly or
|
|
125
|
+
extend it like any other root.
|
|
126
|
+
|
|
127
|
+
## harad
|
|
128
|
+
|
|
129
|
+
`harad` is a self-contained historical green-map design named “Härad”. It uses Core's semantic
|
|
130
|
+
compiler ABI without importing or extending the `streets` map or reusing any Streets asset.
|
|
131
|
+
It declares only `[haradIcons]`, whose nine original Tileflow SVG patterns describe arable land,
|
|
132
|
+
coniferous and deciduous woodland, orchards, paper grain, sand, settlements, water lines, and
|
|
133
|
+
wetlands. The visual grammar is inspired by Lantmäteriet's CC0 Häradsekonomiska kartan series
|
|
134
|
+
(1859–1934) and official legend. The package redistributes no Lantmäteriet scan, source pixel, legend
|
|
135
|
+
artwork, font, or map data; the shipped style and SVG patterns are original Tileflow work.
|
|
136
|
+
|
|
137
|
+
## soundings
|
|
138
|
+
|
|
139
|
+
`soundings` is a self-contained bathymetric-chart design with ivory land, thirteen-stop
|
|
140
|
+
depth-graded water, labelled band edges, continuous colour relief, multidirectional seabed shading,
|
|
141
|
+
port context, named ferry routes, and restrained technical magenta. Its initial camera faces the
|
|
142
|
+
Strait of Gibraltar, allowing an Iberian GEBCO pilot to exercise both Atlantic and Mediterranean
|
|
143
|
+
relief. It selects the public semantic compiler contract without importing or extending `streets`
|
|
144
|
+
and explicitly composes World with `bathymetry({display: 'hybrid'})` while setting Nautical to
|
|
145
|
+
`false`.
|
|
146
|
+
|
|
147
|
+
Vector bands come from `tileflow-bathymetry`; continuous colour relief and hillshade come from
|
|
148
|
+
`tileflow-bathymetry-dem`. The stronger DEM treatment is balanced against the vector wash and depth
|
|
149
|
+
labels rather than against experimental navigation symbols. Dashed outlines remain an honest
|
|
150
|
+
fallback traced from broad GEBCO band polygons until native contour geometry is released. Labels
|
|
151
|
+
show the absolute `min_depth` value, not an inferred range or vessel-specific safety contour.
|
|
152
|
+
Harbours and ferries are ordinary World context. Experimental `nautical-v1` tiles, aids, lights,
|
|
153
|
+
soundings, hazards, reefs, and wrecks are deliberately absent from the official map and remain
|
|
154
|
+
available only to explicitly configured laboratory maps. Soundings is reference cartography and is
|
|
155
|
+
not a navigation product.
|
|
156
|
+
|
|
157
|
+
## siegfried
|
|
158
|
+
|
|
159
|
+
`siegfried` is a self-contained terrain atlas based on the visual grammar documented for
|
|
160
|
+
swisstopo's nineteenth-century Siegfried Map. It does not import or extend `streets`. The default
|
|
161
|
+
`light` theme preserves black, brown, blue, and an ivory paper substrate; browser-derived contours
|
|
162
|
+
replace modern hillshade and retain the 30-metre Alpine cadence at detailed zooms. Rock and scree
|
|
163
|
+
are re-engraved in key ink after the contour deck, while dedicated SVG motifs distinguish forest,
|
|
164
|
+
glacier, wetland, gravel, orchard, and water. Its coordinated `dark` theme is explicitly a nocturnal
|
|
165
|
+
engraver's proof, not a historical facsimile: it keeps identical geometry and semantic ink roles on
|
|
166
|
+
charcoal paper. `[siegfriedIcons]` owns nine light and nine dark pattern variants,
|
|
167
|
+
`[siegfriedFonts]` owns the locally packaged Cormorant Garamond Regular, SemiBold, and Italic faces,
|
|
168
|
+
and `[siegfriedThemes]` exposes the two complete visual vocabularies for safe derivation.
|
|
169
|
+
|
|
170
|
+
## verdant
|
|
171
|
+
|
|
172
|
+
`verdant` is a self-contained contemporary field-atlas design. It combines a park-map information
|
|
173
|
+
hierarchy with a cool mineral substrate, clean blue hydrography, graphite buildings, and a
|
|
174
|
+
trail-forward accent; its original botanical textures appear only where detailed zooms make them
|
|
175
|
+
useful. It uses the same semantic compiler contract without importing or extending `streets`,
|
|
176
|
+
declares its own Noto Sans glyph provider, and owns its complete icon and pattern set through
|
|
177
|
+
`[verdantIcons]`.
|
|
178
|
+
|
|
179
|
+
## sanFrancisto
|
|
180
|
+
|
|
181
|
+
`sanFrancisto` is a self-contained dark architectural-blueprint design centered on San Francisco.
|
|
182
|
+
Fine technical road strokes, survey-like uppercase labels, precise building footprints, contour
|
|
183
|
+
dimensions, and dedicated landscape and water hatches replace naturalistic map color. It declares
|
|
184
|
+
the canonical Noto Sans glyph provider and only `[sanFrancistoIcons]`, whose four original patterns
|
|
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.
|
|
188
|
+
|
|
189
|
+
## cyberpunk
|
|
190
|
+
|
|
191
|
+
`cyberpunk` is a self-contained dark HUD root. Its road hierarchy, building signals, destination
|
|
192
|
+
beacons, semantic render passes, theme, World data selection, `[cyberpunkIcons]`, and
|
|
193
|
+
`[cyberpunkFonts]` are all declared directly; it does not import or extend `streets`.
|
|
194
|
+
|
|
195
|
+
## matrix
|
|
196
|
+
|
|
197
|
+
`matrix` is a self-contained monochrome green-screen root. It explicitly owns its sparse HUD
|
|
198
|
+
geometry, reviewed phosphor-green ramp, modules, semantic render passes, and theme. It
|
|
199
|
+
omits a bright road centerline and building circuit texture, and uses compact square destination
|
|
200
|
+
nodes through `[matrixIcons]`. A translucent scanline and dot pattern masks the cartographic
|
|
201
|
+
linework so bright strokes break into the phosphor rows of an old CRT without baking that texture
|
|
202
|
+
into the map data; text layers render afterwards and stay crisp. `[matrixFonts]` owns Matrix's
|
|
203
|
+
packaged Oxanium faces for uppercase labels, independently of Cyberpunk's font provider.
|
|
204
|
+
|
|
205
|
+
`streetsThemes.light` and `streetsThemes.dark` are complete appearance documents consumed by the
|
|
206
|
+
same semantic module structure. Selecting `dark` changes colors, typography roles, image roles, and
|
|
207
|
+
lighting without changing a source, filter, layer order, zoom gate, collision rule, or module. Both
|
|
208
|
+
sidewalk patterns live in the shared `[streetsIcons]` atlas and the selected theme resolves the
|
|
209
|
+
semantic `roads.sidewalkPattern` image token to the correct asset.
|
|
210
|
+
|
|
211
|
+
Streets uses one ranked destination hierarchy in both themes. Major transit and cultural anchors
|
|
212
|
+
appear first; lodging, health, education, services, shopping, food, coffee, and parking enter
|
|
213
|
+
progressively as the camera approaches street level. Each visible destination is one collision
|
|
214
|
+
unit made from a colored circular pictogram and an optional neutral name, so the marker remains
|
|
215
|
+
useful when the label cannot fit. The pictogram scale grows gently from 1× at z12 to 1.06× at z17,
|
|
216
|
+
giving detailed street views a little more visual presence without increasing POI density.
|
|
217
|
+
Portal-number labels are intentionally disabled. The ten POI
|
|
218
|
+
pictograms are adapted from the pinned CC0 Maki subset documented in
|
|
219
|
+
`THIRD_PARTY_NOTICES.md`; their containers, colors, sizing, and composition are Tileflow-authored.
|
|
220
|
+
|
|
221
|
+
Road references use a compact Tileflow-owned family of generic rectangular and circular shields.
|
|
222
|
+
The data's normalized `shield_kind` selects neutral, blue, green, red, orange, yellow, or circular
|
|
223
|
+
artwork; `shield_text_color` independently selects the light or dark theme token. Unknown and
|
|
224
|
+
unsupported networks fall back to the neutral rectangle with dark text instead of guessing a
|
|
225
|
+
country from the spelling of `ref`. Both themes retain the same signaling colors.
|
|
226
|
+
|
|
227
|
+
Streets has separate shield phases for scale, not separate hand-authored network layers. Overview
|
|
228
|
+
uses pre-deduplicated point candidates; detail switches to repeated line placement. Both the fitted
|
|
229
|
+
plate and its complete route reference are viewport-aligned, so shields remain horizontal as the
|
|
230
|
+
map rotates or pitches. The rectangular base plate is 20 by 14 pixels with a one-pixel outline;
|
|
231
|
+
the circular neutral base is 14 by 14. Both use 9-pixel bold text and a small width-only fit
|
|
232
|
+
allowance. Streets limits shields to the motorway-through-tertiary hierarchy; collision padding
|
|
233
|
+
and the overview candidate schedule keep regional views legible while preserving useful repetition
|
|
234
|
+
at street scale.
|
|
235
|
+
|
|
236
|
+
The two palettes are Tileflow-owned, deterministic snapshots calibrated from rendered Mapbox
|
|
237
|
+
Standard `default/day` and `default/night` references on 2026-08-27. They do not import Mapbox style
|
|
238
|
+
JSON, rules, assets, or runtime dependencies. Public roles such as `surface.background`,
|
|
239
|
+
`landuse.industrial`, `landuse.medical`, `labels.settlement`, `labels.neighborhood`, and
|
|
240
|
+
`labels.road` remain independently wired; `hydro.ocean` also separates Standard Night's deep sea
|
|
241
|
+
from urban and inland water. An agent can alter one cartographic intent without
|
|
242
|
+
knowing or perturbing the physical layer topology. Because Standard is evergreen, later parity work
|
|
243
|
+
must be an explicit dated recalibration rather than an implicit network-dependent change.
|
|
244
|
+
|
|
245
|
+
At detailed zooms, the road-bearing official maps round-cap ordinary surface-road and bridge
|
|
246
|
+
feature endpoints so adjacent vector segments overlap their antialiasing fringe instead of exposing
|
|
247
|
+
hairline cuts. Tunnel portals retain butt caps; Streets, Cyberpunk, and Matrix also keep butt caps on
|
|
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
|
|
250
|
+
1 px at z15 to 2 px at z22; tunnel casings use the compact dashed rhythm of the calibrated reference.
|
|
251
|
+
|
|
252
|
+
A theme is not a loose override cascade. Module styles explicitly reference roles such as
|
|
253
|
+
`roads.motorway`, `labels.road`, and `hydro.water`; the selected complete theme resolves those
|
|
254
|
+
references before MapLibre output is generated. Use `defaultTheme` for a deterministic default and
|
|
255
|
+
`systemThemes` plus the runtime `theme="system"` selection when the browser should follow the OS.
|
|
256
|
+
|
|
257
|
+
The directory descriptors point into this installed package. A map inherits its parent's icon or
|
|
258
|
+
font list when the property is omitted. Declaring a list replaces the inherited list, a later
|
|
259
|
+
directory wins for an exact duplicate ID, and `[]` selects no directories.
|
|
260
|
+
|
|
261
|
+
`@tileflow/maps` has a peer dependency on `@tileflow/core`. Core owns the map language and compiler;
|
|
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",
|
|
@@ -40,6 +43,7 @@
|
|
|
40
43
|
"types": "./dist/index.d.ts",
|
|
41
44
|
"files": [
|
|
42
45
|
"assets",
|
|
46
|
+
"docs",
|
|
43
47
|
"dist",
|
|
44
48
|
"THIRD_PARTY_NOTICES.md",
|
|
45
49
|
"LICENSE"
|
|
@@ -56,12 +60,12 @@
|
|
|
56
60
|
"access": "public"
|
|
57
61
|
},
|
|
58
62
|
"peerDependencies": {
|
|
59
|
-
"@tileflow/core": ">=0.1.0-alpha.
|
|
63
|
+
"@tileflow/core": ">=0.1.0-alpha.27 <0.1.0-beta.0"
|
|
60
64
|
},
|
|
61
65
|
"devDependencies": {
|
|
62
66
|
"@maplibre/maplibre-gl-style-spec": "24.8.5",
|
|
63
67
|
"@maplibre/maplibre-gl-style-spec-v6": "npm:@maplibre/maplibre-gl-style-spec@26.4.2",
|
|
64
|
-
"@tileflow/core": "0.1.0-alpha.
|
|
68
|
+
"@tileflow/core": "0.1.0-alpha.27"
|
|
65
69
|
},
|
|
66
70
|
"scripts": {
|
|
67
71
|
"build": "tsup src/index.ts --format esm --dts --clean --no-splitting",
|