@tileflow/dev 0.1.0-alpha.36 → 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/{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 +16 -83
- package/dist/server.d.ts +1 -1
- package/dist/server.js +541 -541
- 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/package.json +4 -4
|
@@ -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/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",
|