@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
package/README.md
CHANGED
|
@@ -33,11 +33,11 @@ export default defineMap({id: 'madrid', version: 1, extends: streets});
|
|
|
33
33
|
Loading the config executes its imports. It is not a sandbox for untrusted code. Local preparation
|
|
34
34
|
needs no API key, but serving a map can still cause requests to its remote data or font providers.
|
|
35
35
|
|
|
36
|
-
The CLI's local
|
|
36
|
+
The CLI's local Inspector provides a dockable layer inspector, loaded tiles, assets, scene
|
|
37
37
|
controls and frame timing. Its element picker selects a layer and evaluates its rules using the
|
|
38
38
|
feature clicked on the map.
|
|
39
39
|
Debug's Overdraw overlay uses a heatmap with a visible pass-count legend and explanation.
|
|
40
|
-
See [
|
|
40
|
+
See [Inspector and compiler inspection](https://github.com/tileflow/tileflow-sdk/blob/main/packages/dev/docs/local-comparison-workbench-and-compiler-inspection.md)
|
|
41
41
|
for interaction details and observation limits.
|
|
42
42
|
|
|
43
43
|
## Prepare a generation
|
|
@@ -136,9 +136,9 @@ Use `/artifacts` for preparation and output, `/server` for HTTP handling, `/conf
|
|
|
136
136
|
loading, `/icons` and `/fonts` for asset preparation, `/inspect` for bounded inspection, `/tilesets`
|
|
137
137
|
for local PMTiles inspection, and `/validation` for diagnostics. `/preview` is the local preview
|
|
138
138
|
contract, including experimental preview-only rendering; it does not promise hosted support.
|
|
139
|
-
The package has no root entry point. `/server` also exposes the reusable
|
|
139
|
+
The package has no root entry point. `/server` also exposes the reusable Inspector shell. The CLI
|
|
140
140
|
connects appearance controls and shared browser context through its optional local
|
|
141
|
-
workflow adapter; see the [
|
|
141
|
+
workflow adapter; see the [Inspector guide](https://github.com/tileflow/tileflow-sdk/blob/main/packages/dev/docs/local-comparison-workbench-and-compiler-inspection.md).
|
|
142
142
|
The navigation contains **Map**, **Layers**, **Tiles**, **Assets**, **Debug** and **Diagnostics**.
|
|
143
143
|
Zoom, Pitch and Bearing appear as **Z**, **P** and **B** directly below it, with live Zoom and Pitch
|
|
144
144
|
sliders and **Copy for AI**. Pitch and Bearing each have an inline reset to 0° within the map's
|
|
@@ -261,7 +261,7 @@ These references are also included under `docs/` in the installed package:
|
|
|
261
261
|
- [Building model preparation](https://github.com/tileflow/tileflow-sdk/blob/main/packages/dev/docs/building-models.md): colour slots, architectural roles, ambient visibility and compatibility.
|
|
262
262
|
- [Native artifact preparation](https://github.com/tileflow/tileflow-sdk/blob/main/packages/dev/docs/native-artifacts.md): static compatibility, renderer-qualified output, and limitations.
|
|
263
263
|
- [Artifact lifecycle](https://github.com/tileflow/tileflow-sdk/blob/main/packages/dev/docs/artifact-lifecycle.md): generations, immutable snapshots, provenance, and cleanup.
|
|
264
|
-
- [Local comparison and inspection](https://github.com/tileflow/tileflow-sdk/blob/main/packages/dev/docs/local-comparison-workbench-and-compiler-inspection.md):
|
|
264
|
+
- [Local comparison and inspection](https://github.com/tileflow/tileflow-sdk/blob/main/packages/dev/docs/local-comparison-workbench-and-compiler-inspection.md): Inspector controls and preview-only models.
|
|
265
265
|
- [Config diagnostics](https://github.com/tileflow/tileflow-sdk/blob/main/packages/dev/docs/structured-config-inspection-and-diagnostics.md): bounded, machine-readable inspection.
|
|
266
266
|
- [PMTiles inspection](https://github.com/tileflow/tileflow-sdk/blob/main/packages/dev/docs/bounded-pmtiles-resource-inspection.md): metadata, sampling limits, and requested properties.
|
|
267
267
|
- [Feature and icon inspection](https://github.com/tileflow/tileflow-sdk/blob/main/packages/dev/docs/bounded-vector-feature-inspection.md): supported sources, icon compilation, and delivered-pixel hashes.
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
This file records third-party components used by Node preparation and preview. Official map artwork
|
|
4
4
|
and fonts are owned and published by `@tileflow/maps`; `@tileflow/dev` does not carry an `assets/`
|
|
5
|
-
directory.
|
|
5
|
+
directory. Inspector interface fonts are distributed separately under `ui-fonts/`. Node runtime dependencies are installed as separate npm packages. The browser inspector bundles
|
|
6
6
|
the evaluator and decoders described below; native binaries are not copied into the dev package.
|
|
7
7
|
|
|
8
|
-
##
|
|
8
|
+
## Inspector interface fonts
|
|
9
9
|
|
|
10
10
|
Inter by Rasmus Andersson and JetBrains Mono by JetBrains are distributed under the SIL Open Font License 1.1. Their complete notices accompany the WOFF2 files in `ui-fonts/inter-OFL.txt` and `ui-fonts/jetbrains-mono-OFL.txt`. Source: <https://github.com/rsms/inter> and <https://github.com/JetBrains/JetBrainsMono>.
|
|
11
11
|
|
|
@@ -96,7 +96,7 @@ tests enforce that package boundary.
|
|
|
96
96
|
|
|
97
97
|
## MapLibre style specification 24.8.5
|
|
98
98
|
|
|
99
|
-
The
|
|
99
|
+
The Inspector browser bundle includes the expression evaluator and reference from
|
|
100
100
|
`@maplibre/maplibre-gl-style-spec` 24.8.5. The following is the complete upstream `LICENSE.txt`,
|
|
101
101
|
including its notices for incorporated code.
|
|
102
102
|
|
|
@@ -223,7 +223,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
223
223
|
|
|
224
224
|
## pbf 5.1.2
|
|
225
225
|
|
|
226
|
-
The
|
|
226
|
+
The Inspector browser bundle includes the PBF reader to preview map font glyphs.
|
|
227
227
|
Source: <https://github.com/mapbox/pbf/tree/v5.1.2>.
|
|
228
228
|
|
|
229
229
|
```text
|