@tileflow/dev 0.1.0-alpha.35 → 0.1.0-alpha.37
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 +5 -5
- package/THIRD_PARTY_NOTICES.md +4 -4
- package/dist/artifacts.js +1 -1
- package/dist/{chunk-2F7LOYQI.js → chunk-UKWAQKLH.js} +11 -4
- package/dist/{devtools-browser.js → inspector-browser.js} +511 -470
- package/dist/{devtools-observer.js → inspector-observer.js} +1 -1
- package/dist/{preview-assets-MT3RXZMN.js → preview-assets-ATLLYY72.js} +2 -2
- package/dist/preview.js +23 -81
- package/dist/server.d.ts +1 -1
- package/dist/server.js +542 -542
- package/docs/bounded-vector-feature-inspection.md +1 -1
- package/docs/layers-inspection.md +1 -1
- package/docs/local-comparison-workbench-and-compiler-inspection.md +5 -5
- package/docs/map-design-diagnostics.md +1 -1
- package/docs/native-artifacts.md +3 -1
- package/package.json +4 -4
|
@@ -45,7 +45,7 @@ Baedeker, Cívica, 1777, Siegfried, Soundings, and Blueprint declare only
|
|
|
45
45
|
`[soundingsIcons]`, and `[blueprintIcons]`, respectively. No official root composes another map's assets even though all
|
|
46
46
|
use the semantic compiler ABI. Baedeker's directory contains eight original travel-atlas patterns;
|
|
47
47
|
its browser-derived Mapterhorn contours use runtime terrain tiles and are not part of the icon
|
|
48
|
-
package. Soundings owns
|
|
48
|
+
package. Soundings owns twenty-seven original nautical symbols and
|
|
49
49
|
patterns. Blueprint owns four technical blueprint patterns and one schematic POI node; its
|
|
50
50
|
unbundled Mapterhorn contours remain runtime terrain, and its text uses the canonical Noto Sans
|
|
51
51
|
glyph provider. An application map may inherit a root's exact array, replace it, clear it with `[]`,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Open the local preview and select **Layers**. The panel inspects the current map without changing its
|
|
4
4
|
authored style. **By module** groups physical layers using compiler contributions; shared layers retain
|
|
5
5
|
every owner. **Draw order** lists the renderer's public layer sequence, latest draw calls first.
|
|
6
|
-
Custom runtime layers are included even though they are absent from Style JSON.
|
|
6
|
+
Custom runtime layers are included even though they are absent from Style JSON. Inspector overlays
|
|
7
7
|
are excluded. Unknown ownership is labeled **Unattributed**, rather than guessed from an ID.
|
|
8
8
|
|
|
9
9
|
Press **I** or the element-picker icon and click an element on the map. Its layer becomes selected in
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Inspector and compiler inspection
|
|
2
2
|
|
|
3
3
|
Start with the [@tileflow/dev guide](https://github.com/tileflow/tileflow-sdk/blob/main/packages/dev/README.md) for installation and a complete first example.
|
|
4
4
|
|
|
5
|
-
The CLI opens
|
|
6
|
-
session by default.
|
|
5
|
+
The CLI opens Inspector through `tileflow preview`. It uses one map and one watched artifact
|
|
6
|
+
session by default. The panel groups Map, Layers, Tiles, Assets, Debug and Diagnostics. Camera controls
|
|
7
7
|
occupy a separate row below the navigation. Use the three-dot menu to dock left, right or below
|
|
8
8
|
the map and choose System, Light or Dark appearance. Drag the divider to resize it; focused dividers
|
|
9
9
|
also support arrow keys. Dock position and dimensions persist locally. Layer observations and highlights stay local to the preview. The map fills the remaining
|
|
10
|
-
workspace without brand headers or map-status badges. Closing the panel leaves a small **
|
|
10
|
+
workspace without brand headers or map-status badges. Closing the panel leaves a small **Inspector**
|
|
11
11
|
button to reopen it; capture and comparison controls are absent from the interface.
|
|
12
12
|
|
|
13
13
|
Add `--against-map ...` or `--against-config ...` for synchronized comparison. Custom local servers
|
|
@@ -34,7 +34,7 @@ const fetch = createTileflowComparisonRequestHandler({
|
|
|
34
34
|
});
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
Set `fitViewport: true` on each dev handler embedded in a resizable
|
|
37
|
+
Set `fitViewport: true` on each dev handler embedded in a resizable Inspector pane. Scene previews
|
|
38
38
|
then fit their pane while captures retain the scene's declared frame. Standalone dev handlers keep
|
|
39
39
|
the fixed scene viewport by default.
|
|
40
40
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Map design diagnostics
|
|
2
2
|
|
|
3
|
-
Open **Diagnostics** in
|
|
3
|
+
Open **Diagnostics** in Inspector to investigate a map's rules, visual resources and current-view
|
|
4
4
|
composition. The list groups findings under **Readability**, **Style**, **Assets** and **Performance**.
|
|
5
5
|
**Problem** means a confirmed configuration or resource failure. **Review** means an observed
|
|
6
6
|
situation may be intentional. Counts refer to grouped findings, not quality scores.
|
package/docs/native-artifacts.md
CHANGED
|
@@ -45,6 +45,7 @@ Selecting `renderer: 'native'` applies `native-lowering-v1` after shared semanti
|
|
|
45
45
|
before final native validation. It never edits the authored map, the official map definitions or
|
|
46
46
|
the shared compiler. Web output is not lowered.
|
|
47
47
|
|
|
48
|
+
A browser `sky` is removed, because Native draws no sky, and the entry records `sky: 'removed'`.
|
|
48
49
|
A fixed `projection: {type: 'globe'}` is explicitly normalized to Native's implicit Mercator. This
|
|
49
50
|
is a renderer-specific projection change, not equivalent globe rendering. An explicit fixed
|
|
50
51
|
Mercator declaration is also omitted. Adaptive/expression projections and unknown projection
|
|
@@ -150,7 +151,8 @@ engines, `validation: 'static-artifacts'` and the canonical `build-manifest.json
|
|
|
150
151
|
schema version is 2 and its `preparationVersion` is `native-lowering-v1`.
|
|
151
152
|
|
|
152
153
|
The `transformations` array is sorted uniquely by map/theme. Each entry records input and lowered
|
|
153
|
-
style SHA-256 values, input/output layer counts
|
|
154
|
+
style SHA-256 values, input/output layer counts, projection normalization and, when present, sky
|
|
155
|
+
removal. `layers` lists the
|
|
154
156
|
input ordinal, output start/count and affected properties of each partitioned line layer;
|
|
155
157
|
`symbolOverlap` lists the input ordinal and replaced properties of each symbol layer whose overlap
|
|
156
158
|
modes became `*-allow-overlap` values. Ordinals refer to the complete style layer arrays, including
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tileflow/dev",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.37",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Node development utilities for Tileflow configs and builds.",
|
|
6
6
|
"type": "module",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"dependencies": {
|
|
85
85
|
"@mapbox/vector-tile": "3.0.0",
|
|
86
86
|
"@maplibre/maplibre-gl-style-spec": "26.4.4",
|
|
87
|
-
"@tileflow/core": ">=0.1.0-alpha.
|
|
87
|
+
"@tileflow/core": ">=0.1.0-alpha.40 <0.1.0-beta.0",
|
|
88
88
|
"chokidar": "4.0.3",
|
|
89
89
|
"fontkit": "2.0.4",
|
|
90
90
|
"jiti": "^2.7.0",
|
|
@@ -96,13 +96,13 @@
|
|
|
96
96
|
"three": "0.185.1"
|
|
97
97
|
},
|
|
98
98
|
"devDependencies": {
|
|
99
|
-
"@tileflow/maps": "0.1.0-alpha.
|
|
99
|
+
"@tileflow/maps": "0.1.0-alpha.14"
|
|
100
100
|
},
|
|
101
101
|
"optionalDependencies": {
|
|
102
102
|
"sharp": "0.35.5"
|
|
103
103
|
},
|
|
104
104
|
"scripts": {
|
|
105
|
-
"build": "tsup src/artifacts.ts src/config.ts src/fonts.ts src/icons.ts src/inspect.ts src/preview.ts src/server.ts src/tilesets.ts src/validation.ts --format esm --dts --clean --platform node --external sharp && tsup --config tsup.
|
|
105
|
+
"build": "tsup src/artifacts.ts src/config.ts src/fonts.ts src/icons.ts src/inspect.ts src/preview.ts src/server.ts src/tilesets.ts src/validation.ts --format esm --dts --clean --platform node --external sharp && tsup --config tsup.inspector.config.ts",
|
|
106
106
|
"test": "tsx --test test/*.test.ts",
|
|
107
107
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
108
108
|
"lint": "tsc -p tsconfig.json --noEmit",
|