@tileflow/maps 0.1.0-alpha.21 → 0.1.0-alpha.22
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 +10 -10
- package/THIRD_PARTY_NOTICES.md +5 -5
- package/assets/README.md +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +4001 -4001
- package/package.json +5 -4
- /package/assets/{terrain/icons/terrain-peak-dark.svg → outdoors/icons/outdoors-peak-dark.svg} +0 -0
- /package/assets/{terrain/icons/terrain-peak.svg → outdoors/icons/outdoors-peak.svg} +0 -0
package/README.md
CHANGED
|
@@ -63,7 +63,7 @@ The CLI owns the interface; compiler and runtime changes require rebuilding thos
|
|
|
63
63
|
- `streets`: contemporary street cartography with Mapbox-inspired time-of-day and color themes,
|
|
64
64
|
ranked POIs, Madrid transit network symbols, generic road-reference shields, and regional hillshade.
|
|
65
65
|
- `soundings`: bathymetric reference cartography with depth bands, continuous relief, and port context.
|
|
66
|
-
- `
|
|
66
|
+
- `outdoors`: contemporary topography with 3D relief, hillshade, contours, trails, peaks and natural
|
|
67
67
|
landcover. It shares Streets' lettering, roads, POIs and four times of day.
|
|
68
68
|
|
|
69
69
|
Every official map is a complete, independent root using the same Core compiler. Official map
|
|
@@ -215,16 +215,16 @@ reference uses DIN Pro Medium, so font shapes and stroke weight
|
|
|
215
215
|
remain an approximation. Available POIs, abbreviated names,
|
|
216
216
|
proprietary landmark models, transit branding, and building detail can differ from the reference.
|
|
217
217
|
|
|
218
|
-
###
|
|
218
|
+
### Outdoors
|
|
219
219
|
|
|
220
|
-
|
|
221
|
-
system light/dark selection. Its initial view looks across Chamonix in 3D. Use
|
|
222
|
-
`packages/maps/
|
|
220
|
+
Outdoors includes `light`, `dawn`, `dusk` and `dark` themes, a `light` time-of-day family, and
|
|
221
|
+
system light/dark selection. Summit labels include their elevation in metres when the data provides it. Its initial view looks across Chamonix in 3D. Use
|
|
222
|
+
`packages/maps/outdoors.config.ts` in an SDK checkout to preview or capture the regional, mountain,
|
|
223
223
|
trail, city and mobile scenes through the same CLI as Streets.
|
|
224
224
|
|
|
225
225
|
The default elevation source is public Mapterhorn Terrarium tiles (512 px, maximum source zoom 12).
|
|
226
226
|
Relief, hillshade and generated contours share that TileJSON. To change providers, retain the
|
|
227
|
-
|
|
227
|
+
elevation settings with `resolveMap(outdoors).terrain` and replace its `url`, `encoding`, `tileSize`
|
|
228
228
|
and `maxZoom` as appropriate; `terrain` is an atomic configuration field when extending a map.
|
|
229
229
|
A custom `contours.demUrl` overrides the contour provider explicitly. Geographic tiles are requested
|
|
230
230
|
at runtime and are not bundled. Local map detail depends on the available World and elevation data.
|
|
@@ -244,14 +244,14 @@ marks with its chart symbols and a "Not for navigation" notice; other maps opt i
|
|
|
244
244
|
|
|
245
245
|
## Themes and assets
|
|
246
246
|
|
|
247
|
-
`streetsThemes` and `
|
|
247
|
+
`streetsThemes` and `outdoorsThemes` expose their complete appearance collections. Import those
|
|
248
248
|
collections when using `defineTheme()` to derive a new appearance. A declared `themes` collection
|
|
249
249
|
replaces the inherited collection, so also declare the intended `defaultTheme` and `systemThemes`
|
|
250
250
|
and optional `timeOfDay` mappings. `system` belongs to browser selection; captures and builds use concrete theme names.
|
|
251
251
|
|
|
252
|
-
The package exports `streetsIcons`, `soundingsIcons` and `
|
|
253
|
-
resource directories, not sprite URLs.
|
|
254
|
-
symbols. Streets and
|
|
252
|
+
The package exports `streetsIcons`, `soundingsIcons` and `outdoorsIcons`. These are installed
|
|
253
|
+
resource directories, not sprite URLs. Outdoors composes Streets' artwork with its own summit
|
|
254
|
+
symbols. Streets and Outdoors share `streetsFonts` (DINish and Noto Sans) and `streetsModels`.
|
|
255
255
|
Soundings declares a Noto Sans URL glyph provider from an immutable Hosted base-asset set.
|
|
256
256
|
The CLI and build integrations prepare the selected directories into runtime assets.
|
|
257
257
|
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Third-party notices
|
|
2
2
|
|
|
3
|
-
Except for the Streets POI pictograms documented below, the official Streets, Soundings, and
|
|
3
|
+
Except for the Streets POI pictograms documented below, the official Streets, Soundings, and Outdoors icon and pattern
|
|
4
4
|
artwork published under `assets/` is original Tileflow artwork.
|
|
5
5
|
|
|
6
6
|
This file is shipped with `@tileflow/maps` so future third-party assets have a stable place for
|
|
@@ -107,9 +107,9 @@ Source, attribution and adaptation details: assets/streets/climate/NOTICE.txt. T
|
|
|
107
107
|
credit links to <https://tileflow.dev/copyright#streets-climate>, which carries the same notice.
|
|
108
108
|
The image is historical context, not live vegetation.
|
|
109
109
|
|
|
110
|
-
##
|
|
110
|
+
## Outdoors elevation and shared artwork
|
|
111
111
|
|
|
112
|
-
|
|
113
|
-
tile is packaged here. Its source links to <https://mapterhorn.com/attribution/>.
|
|
112
|
+
Outdoors uses Mapterhorn elevation at runtime for its 3D surface, hillshade and contours. No DEM
|
|
113
|
+
tile is packaged here. Its source links to <https://mapterhorn.com/attribution/>. Outdoors shares
|
|
114
114
|
Streets lettering, POI pictograms, transport symbols and climate context, with the notices above.
|
|
115
|
-
The two summit symbols in `assets/
|
|
115
|
+
The two summit symbols in `assets/outdoors/icons/` are original Tileflow artwork.
|
package/assets/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Official map assets
|
|
2
2
|
|
|
3
|
-
These directories contain the package-owned sources for Streets, Soundings and
|
|
4
|
-
Streets' icons, fonts and models are shared by
|
|
5
|
-
Use the exported `streetsIcons`, `streetsFonts`, `streetsModels`, `soundingsIcons` and `
|
|
3
|
+
These directories contain the package-owned sources for Streets, Soundings and Outdoors.
|
|
4
|
+
Streets' icons, fonts and models are shared by Outdoors; Outdoors adds its own summit symbols.
|
|
5
|
+
Use the exported `streetsIcons`, `streetsFonts`, `streetsModels`, `soundingsIcons` and `outdoorsIcons`
|
|
6
6
|
descriptors to compose resources. Streets includes a pinned CC0 subset of Maki pictograms inside
|
|
7
7
|
Tileflow-authored circular POI markers; provenance is in `../THIRD_PARTY_NOTICES.md` and the
|
|
8
8
|
upstream license is kept at `streets/LICENSE-MAKI.txt`.
|
|
@@ -57,7 +57,7 @@ fixed-colour artwork and is unused because rocks are drawn as chart crosses. A g
|
|
|
57
57
|
deliberately not relabelled as a harbour. Soundings uses GEBCO-derived depth bands only as broad
|
|
58
58
|
cartographic context, and neither it nor its Nautical marks is a navigation product.
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
Outdoors adds two original circular summit badges, one for light ground and one for dark ground.
|
|
61
61
|
It shares Streets’ packaged lettering and POI resources. No elevation tiles are bundled.
|
|
62
62
|
|
|
63
63
|
`@tileflow/dev` resolves each package descriptor, verifies that its real path remains inside the
|
|
@@ -68,7 +68,7 @@ lower-kebab, and a later directory wins on an exact duplicate ID.
|
|
|
68
68
|
|
|
69
69
|
Font preparation is generic: it reads any map's declared `fonts` directories, derives IDs from
|
|
70
70
|
OpenType full names, includes only used faces, and publishes content-addressed font and license
|
|
71
|
-
assets. Streets and
|
|
71
|
+
assets. Streets and Outdoors materialize their selected DINish and Noto Sans faces and licenses.
|
|
72
72
|
Their manifest and Style carry the strict `tileflow:fontFaces` public-asset contract;
|
|
73
73
|
Style font values are exact OpenType full names. Soundings declares the canonical Tileflow
|
|
74
74
|
glyph URL with exact `Noto Sans Regular` and `Noto Sans Bold` stacks. The compiler never
|
package/dist/index.d.ts
CHANGED
|
@@ -29,15 +29,15 @@ declare const soundingsIcons: Readonly<{
|
|
|
29
29
|
package: string;
|
|
30
30
|
path: string;
|
|
31
31
|
}>;
|
|
32
|
-
/** Summit symbols for the
|
|
33
|
-
declare const
|
|
32
|
+
/** Summit symbols for the Outdoors map. */
|
|
33
|
+
declare const outdoorsIcons: Readonly<{
|
|
34
34
|
kind: "package-directory";
|
|
35
35
|
package: string;
|
|
36
36
|
path: string;
|
|
37
37
|
}>;
|
|
38
38
|
|
|
39
39
|
/** Streets' four times of day, repainted for natural ground and trails. */
|
|
40
|
-
declare const
|
|
40
|
+
declare const outdoorsThemes: Readonly<{
|
|
41
41
|
light: TileflowTheme;
|
|
42
42
|
dawn: TileflowTheme;
|
|
43
43
|
dusk: TileflowTheme;
|
|
@@ -982,6 +982,6 @@ declare const soundings: {
|
|
|
982
982
|
};
|
|
983
983
|
};
|
|
984
984
|
|
|
985
|
-
declare const
|
|
985
|
+
declare const outdoors: _tileflow_core.ResolvedTileflowMap;
|
|
986
986
|
|
|
987
|
-
export { soundings, soundingsIcons, streets, streetsFonts, streetsIcons, streetsModels, streetsThemes
|
|
987
|
+
export { outdoors, outdoorsIcons, outdoorsThemes, soundings, soundingsIcons, streets, streetsFonts, streetsIcons, streetsModels, streetsThemes };
|