@tileflow/dev 0.1.0-alpha.31 → 0.1.0-alpha.33

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 CHANGED
@@ -33,6 +33,13 @@ 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 Map DevTools provides a dockable layer inspector, loaded tiles, assets, scene
37
+ controls and frame timing. Its element picker selects a layer and evaluates its rules using the
38
+ feature clicked on the map.
39
+ Debug's Overdraw overlay uses a heatmap with a visible pass-count legend and explanation.
40
+ See [Map DevTools and compiler inspection](https://github.com/tileflow/tileflow-sdk/blob/main/packages/dev/docs/local-comparison-workbench-and-compiler-inspection.md)
41
+ for interaction details and observation limits.
42
+
36
43
  ## Prepare a generation
37
44
 
38
45
  <!-- docs:check -->
@@ -54,6 +61,12 @@ The artifact plan exposes files and observed inputs from the same generation. St
54
61
  `styles[map][theme]`, never as an implicit default-theme alias. Keep that generation alive for the
55
62
  whole operation, then release it. Do not reconstruct its asset list from directory guesses.
56
63
 
64
+ Map-owned tree models are prepared alongside icons and embedded in the styles. Custom tools that
65
+ compile icons separately can use `prepareTileflowMapTreeModels` from `@tileflow/dev/icons` with
66
+ the map's model directories, base directory, working directory, target and diagnostic path. Pass
67
+ its `models` result as `preparedAssets.models` when compiling the style; retain its source
68
+ identities and watch paths when managing revisions. The artifact pipeline does this automatically.
69
+
57
70
  To write production output rather than manage it in memory:
58
71
 
59
72
  <!-- docs:check -->
@@ -123,7 +136,59 @@ Use `/artifacts` for preparation and output, `/server` for HTTP handling, `/conf
123
136
  loading, `/icons` and `/fonts` for asset preparation, `/inspect` for bounded inspection, `/tilesets`
124
137
  for local PMTiles inspection, and `/validation` for diagnostics. `/preview` is the local preview
125
138
  contract, including experimental preview-only rendering; it does not promise hosted support.
126
- The package has no root entry point.
139
+ The package has no root entry point. `/server` also exposes the reusable Map DevTools shell. The CLI
140
+ connects appearance controls and shared browser context through its optional local
141
+ workflow adapter; see the [Map DevTools guide](https://github.com/tileflow/tileflow-sdk/blob/main/packages/dev/docs/local-comparison-workbench-and-compiler-inspection.md).
142
+ The navigation contains **Map**, **Layers**, **Tiles**, **Assets**, **Debug** and **Diagnostics**.
143
+ Zoom, Pitch and Bearing appear as **Z**, **P** and **B** directly below it, with live Zoom and Pitch
144
+ sliders and **Copy for AI**. Pitch and Bearing each have an inline reset to 0° within the map's
145
+ camera limits. Camera resets preserve the current zoom and map position.
146
+ The active tab and selected layer remain in the URL across reloads. The menu provides left,
147
+ right and bottom docking, System/Light/Dark appearance, and **Reset all changes**.
148
+ Side docking has a minimum width of 640 CSS pixels, including restored layouts.
149
+
150
+ **Map** exposes time-of-day segments, theme cards with actual style swatches, 3D view,
151
+ Off/Grow/Fade building animation, and the map's module settings. The command selects the map.
152
+ Streets shows **Default**, **Faded** and **Monochrome**; Default keeps the compatible `light`
153
+ theme ID in configs, URLs and capture commands. Time of day is selected independently.
154
+ 3D view defaults to on for every map. Buildings fade in between zoom 15 and 15.25.
155
+ Toggling 3D view preserves the camera, including pitch; an explicit off setting stays off.
156
+ Changes update the existing map after a 300 ms pause while the form remains editable. Superseded
157
+ compilations are discarded. Runtime controls do not recompile the style. Scene and layer edits
158
+ share the header Undo/Redo controls; source files stay unchanged.
159
+
160
+ **Layers** groups physical and runtime layers by module or draw order. Hover highlights geometry;
161
+ selection keeps it highlighted independently of the element picker. The picker opens the clicked
162
+ feature's layer in **Rules**. Rules expose live colors, numeric sliders, enums, expression curves,
163
+ defaults, and checkboxes for temporarily disabling paint, layout and filters. Diagnosis, Data and
164
+ Origin explain renderer state, sample features and available compiler provenance. **Visible**
165
+ filters to the current viewport. Context can be reviewed as Markdown or JSON before copying.
166
+ See [Layers inspection](https://github.com/tileflow/tileflow-sdk/blob/main/packages/dev/docs/layers-inspection.md).
167
+
168
+ **Tiles** shows resident map tiles as a coordinate grid and source-grouped list. Source layers,
169
+ Features and Info expose raw payload sizes, consumer layers, paginated features, GeoJSON and bounds.
170
+ Inspection reads resident data without issuing tile requests. MLT and inaccessible renderer data
171
+ have explicit unavailable states.
172
+
173
+ **Assets** separates Icons, 3D models and Fonts. Icons lists real registered images and loads actual
174
+ sprite variants for the map's themes and times of day. Models previews bounded samples of loaded
175
+ controller meshes, with available counts, bytes and LODs. Fonts renders editable samples from actual
176
+ font files or glyphs and links back to consuming layers.
177
+
178
+ **Debug** contains overdraw, collision and tile-boundary overlays, explanations, and controls for
179
+ the map's actual pixel ratio. **Diagnostics** lists actionable findings under Readability, Style,
180
+ Assets and Performance. Problems identify confirmed failures; Review findings describe situations
181
+ that can be intentional. There are no quality scores or automatic camera tours. Style checks refresh
182
+ when the map changes; **Check view** collects bounded current-view evidence and briefly samples
183
+ drawing work. Findings open the affected layer and rule, show available evidence, and copy context
184
+ for an agent. Unavailable observations and stale results remain explicit. **Diagnosis** in
185
+ Layers describes the selected layer's zoom, visibility and feature-rule context without turning
186
+ empty viewport queries into errors. Legacy `tab=beacon` links open Diagnostics.
187
+ See [Map design diagnostics](https://github.com/tileflow/tileflow-sdk/blob/main/packages/dev/docs/map-design-diagnostics.md)
188
+ for detectors, sampling and interpretation limits.
189
+
190
+ The preview's globe rim follows the rendered canvas silhouette, including camera and viewport
191
+ changes, and fades between zooms 3 and 6. Its colors follow the map's atmosphere when declared.
127
192
 
128
193
  Invalid compiled styles throw `TileflowStyleValidationError` with bounded issues. Keep diagnostics
129
194
  structured; do not return executable config, local paths, credentials, or complete generated byte
@@ -195,7 +260,7 @@ These references are also included under `docs/` in the installed package:
195
260
 
196
261
  - [Native artifact preparation](https://github.com/tileflow/tileflow-sdk/blob/main/packages/dev/docs/native-artifacts.md): static compatibility, renderer-qualified output, and limitations.
197
262
  - [Artifact lifecycle](https://github.com/tileflow/tileflow-sdk/blob/main/packages/dev/docs/artifact-lifecycle.md): generations, immutable snapshots, provenance, and cleanup.
198
- - [Local comparison and inspection](https://github.com/tileflow/tileflow-sdk/blob/main/packages/dev/docs/local-comparison-workbench-and-compiler-inspection.md): workbench controls and preview-only models.
263
+ - [Local comparison and inspection](https://github.com/tileflow/tileflow-sdk/blob/main/packages/dev/docs/local-comparison-workbench-and-compiler-inspection.md): Map DevTools controls and preview-only models.
199
264
  - [Config diagnostics](https://github.com/tileflow/tileflow-sdk/blob/main/packages/dev/docs/structured-config-inspection-and-diagnostics.md): bounded, machine-readable inspection.
200
265
  - [PMTiles inspection](https://github.com/tileflow/tileflow-sdk/blob/main/packages/dev/docs/bounded-pmtiles-resource-inspection.md): metadata, sampling limits, and requested properties.
201
266
  - [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.
@@ -2,8 +2,16 @@
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. Runtime dependencies are installed as separate npm packages, and their code and native
6
- binaries are not copied into the dev package.
5
+ directory. Map DevTools interface fonts are distributed separately under `ui-fonts/`. Node runtime dependencies are installed as separate npm packages. The browser inspector bundles
6
+ the evaluator and decoders described below; native binaries are not copied into the dev package.
7
+
8
+ ## Map DevTools interface fonts
9
+
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
+
12
+ Mona Sans and Hubot Sans by GitHub are distributed under the SIL Open Font License 1.1.
13
+ Their complete notices accompany the WOFF2 files in `ui-fonts/mona-sans-OFL.txt` and
14
+ `ui-fonts/hubot-sans-OFL.txt`. These fonts style the development interface and do not alter map text.
7
15
 
8
16
  ## Bitmap distance transform
9
17
 
@@ -31,7 +39,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SO
31
39
  ## Package-owned map fonts
32
40
 
33
41
  The generic font preparation pipeline reads map-owned TTF, OTF, and WOFF2 directories; it does not
34
- embed fonts in `@tileflow/dev`. Each source directory must carry its own `LICENSE.txt`, which is
42
+ embed map fonts in `@tileflow/dev`. Each source directory must carry its own `LICENSE.txt`, which is
35
43
  copied into the deterministic build artifacts whenever that directory contributes a selected face.
36
44
 
37
45
  The source repository's generic font tests retain pinned Oxanium fixtures and their complete
@@ -85,3 +93,217 @@ Because `sharp` remains a separately installed optional package, users can insta
85
93
  or replace it independently of `@tileflow/dev`. Tileflow does not modify libvips and does not place a
86
94
  libvips shared library or a `sharp` native addon inside any Tileflow package tarball. Release smoke
87
95
  tests enforce that package boundary.
96
+
97
+ ## MapLibre style specification 24.8.5
98
+
99
+ The Map DevTools browser bundle includes the expression evaluator and reference from
100
+ `@maplibre/maplibre-gl-style-spec` 24.8.5. The following is the complete upstream `LICENSE.txt`,
101
+ including its notices for incorporated code.
102
+
103
+ Source: <https://github.com/maplibre/maplibre-style-spec/tree/v24.8.5>.
104
+
105
+ ```text
106
+ Copyright (c) 2020, MapLibre contributors
107
+
108
+ All rights reserved.
109
+
110
+ Redistribution and use in source and binary forms, with or without modification,
111
+ are permitted provided that the following conditions are met:
112
+
113
+ * Redistributions of source code must retain the above copyright notice,
114
+ this list of conditions and the following disclaimer.
115
+ * Redistributions in binary form must reproduce the above copyright notice,
116
+ this list of conditions and the following disclaimer in the documentation
117
+ and/or other materials provided with the distribution.
118
+ * Neither the name of MapLibre GL JS nor the names of its contributors
119
+ may be used to endorse or promote products derived from this software
120
+ without specific prior written permission.
121
+
122
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
123
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
124
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
125
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
126
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
127
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
128
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
129
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
130
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
131
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
132
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
133
+
134
+
135
+ -------------------------------------------------------------------------------
136
+
137
+ Contains code from mapbox-gl-js v1.13 and earlier
138
+
139
+ Version v1.13 of mapbox-gl-js and earlier are licensed under a BSD-3-Clause license
140
+
141
+ Copyright (c) 2020, Mapbox
142
+ Redistribution and use in source and binary forms, with or without modification,
143
+ are permitted provided that the following conditions are met:
144
+
145
+ * Redistributions of source code must retain the above copyright notice,
146
+ this list of conditions and the following disclaimer.
147
+ * Redistributions in binary form must reproduce the above copyright notice,
148
+ this list of conditions and the following disclaimer in the documentation
149
+ and/or other materials provided with the distribution.
150
+ * Neither the name of Mapbox GL JS nor the names of its contributors
151
+ may be used to endorse or promote products derived from this software
152
+ without specific prior written permission.
153
+
154
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
155
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
156
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
157
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
158
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
159
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
160
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
161
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
162
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
163
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
164
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
165
+
166
+
167
+ -------------------------------------------------------------------------------
168
+
169
+ Contains code from glfx.js
170
+
171
+ Copyright (C) 2011 by Evan Wallace
172
+
173
+ Permission is hereby granted, free of charge, to any person obtaining a copy
174
+ of this software and associated documentation files (the "Software"), to deal
175
+ in the Software without restriction, including without limitation the rights
176
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
177
+ copies of the Software, and to permit persons to whom the Software is
178
+ furnished to do so, subject to the following conditions:
179
+
180
+ The above copyright notice and this permission notice shall be included in
181
+ all copies or substantial portions of the Software.
182
+
183
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
184
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
185
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
186
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
187
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
188
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
189
+ THE SOFTWARE.
190
+
191
+ --------------------------------------------------------------------------------
192
+
193
+ Contains a portion of d3-color https://github.com/d3/d3-color
194
+
195
+ Copyright 2010-2016 Mike Bostock
196
+ All rights reserved.
197
+
198
+ Redistribution and use in source and binary forms, with or without modification,
199
+ are permitted provided that the following conditions are met:
200
+
201
+ * Redistributions of source code must retain the above copyright notice, this
202
+ list of conditions and the following disclaimer.
203
+
204
+ * Redistributions in binary form must reproduce the above copyright notice,
205
+ this list of conditions and the following disclaimer in the documentation
206
+ and/or other materials provided with the distribution.
207
+
208
+ * Neither the name of the author nor the names of contributors may be used to
209
+ endorse or promote products derived from this software without specific prior
210
+ written permission.
211
+
212
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
213
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
214
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
215
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
216
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
217
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
218
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
219
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
220
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
221
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
222
+ ```
223
+
224
+ ## pbf 5.1.2
225
+
226
+ The Map DevTools browser bundle includes the PBF reader to preview map font glyphs.
227
+ Source: <https://github.com/mapbox/pbf/tree/v5.1.2>.
228
+
229
+ ```text
230
+ Copyright (c) 2026, Mapbox
231
+ All rights reserved.
232
+
233
+ Redistribution and use in source and binary forms, with or without
234
+ modification, are permitted provided that the following conditions are met:
235
+
236
+ * Redistributions of source code must retain the above copyright notice, this
237
+ list of conditions and the following disclaimer.
238
+
239
+ * Redistributions in binary form must reproduce the above copyright notice,
240
+ this list of conditions and the following disclaimer in the documentation
241
+ and/or other materials provided with the distribution.
242
+
243
+ * Neither the name of pbf nor the names of its
244
+ contributors may be used to endorse or promote products derived from
245
+ this software without specific prior written permission.
246
+
247
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
248
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
249
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
250
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
251
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
252
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
253
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
254
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
255
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
256
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
257
+ ```
258
+
259
+ ## @mapbox/vector-tile 3.0.0
260
+
261
+ The browser tile inspector bundles this MVT decoder to inspect resident vector tiles.
262
+ Source: <https://github.com/mapbox/vector-tile-js/tree/v3.0.0>. License: BSD 3-Clause.
263
+
264
+ Copyright (c) 2024, Mapbox
265
+
266
+ All rights reserved.
267
+
268
+ Redistribution and use in source and binary forms, with or without modification,
269
+ are permitted provided that the following conditions are met:
270
+
271
+ * Redistributions of source code must retain the above copyright notice,
272
+ this list of conditions and the following disclaimer.
273
+ * Redistributions in binary form must reproduce the above copyright notice,
274
+ this list of conditions and the following disclaimer in the documentation
275
+ and/or other materials provided with the distribution.
276
+ * Neither the name of Mapbox nor the names of its contributors
277
+ may be used to endorse or promote products derived from this software
278
+ without specific prior written permission.
279
+
280
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
281
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
282
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
283
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
284
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
285
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
286
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
287
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
288
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
289
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
290
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
291
+
292
+ ## @mapbox/point-geometry 1.1.0
293
+
294
+ Bundled with the vector-tile decoder for feature geometry.
295
+ Source: <https://github.com/mapbox/point-geometry/tree/v1.1.0>. License: ISC.
296
+
297
+ Copyright (c) 2024, Mapbox
298
+
299
+ Permission to use, copy, modify, and/or distribute this software for any
300
+ purpose with or without fee is hereby granted, provided that the above
301
+ copyright notice and this permission notice appear in all copies.
302
+
303
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
304
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
305
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
306
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
307
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
308
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
309
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -1,8 +1,10 @@
1
1
  import { MapLibreStyle, TileflowViewConfig, TileflowStyleOptions } from '@tileflow/core';
2
- import { TileflowBuildCatalog, TileflowBuildStyles, TileflowMapBuildManifestV1, TileflowRendererDeploymentArtifact, TileflowStyleInspection, TileflowMapBuildProvenanceV1, TileflowPreparedMapAssets } from '@tileflow/core/build';
2
+ export { tileflowLandmarkRegionOf, tileflowLandmarkRegionZoom, tileflowLandmarkTileOf, tileflowLandmarkTileZoom } from '@tileflow/core';
3
+ import { TileflowBuildCatalog, TileflowBuildStyles, TileflowMapBuildManifestV1, TileflowRendererDeploymentArtifact, TileflowPreparedMapAssets, TileflowStyleInspection, TileflowMapBuildProvenanceV1 } from '@tileflow/core/build';
3
4
  import { TileflowRuntimeManifest } from '@tileflow/core/manifest';
4
5
  import { TileflowRenderer, TileflowNativeBuildRecord } from '@tileflow/core/native-profile';
5
- import { TileflowBuildAsset, TileflowIconResolutionOptions, PreparedTileflowBuildCatalog, TileflowSourceCatalog, PreparedTileflowCatalog } from './icons.js';
6
+ import { T as TileflowBuildAsset, a as TileflowIconResolutionOptions, P as PreparedTileflowBuildCatalog, b as TileflowSourceCatalog, c as PreparedTileflowCatalog } from './icons-BdOehQmB.js';
7
+ export { d as TileflowBuildingModelLevels, e as TileflowLandmarkSource, f as encodeTileflowLandmarkRegion, p as packageTileflowLandmarkTile, g as prepareTileflowBuildingModel } from './icons-BdOehQmB.js';
6
8
  export { defaultTileflowConfigPath } from './config.js';
7
9
 
8
10
  /**
@@ -177,6 +179,8 @@ type TileflowBuildArtifactsOptions = {
177
179
  type TileflowBuildStyleInspections = Record<string, Record<string, TileflowStyleInspection>>;
178
180
  /** Compatibility shape consumed by sessions and capture callers. */
179
181
  type TileflowBuildArtifacts = {
182
+ /** Local-only prepared handles used to recompile module controls without resolving assets again. */
183
+ mapAssets?: Readonly<Record<string, TileflowPreparedMapAssets>>;
180
184
  assets: TileflowBuildAsset[];
181
185
  buildManifest: TileflowMapBuildManifestV1;
182
186
  /** Present only for native artifact preparation; never part of the runtime manifest. */
package/dist/artifacts.js CHANGED
@@ -23,11 +23,15 @@ import {
23
23
  tileflowArtifactInventoryFileName,
24
24
  tileflowArtifactPlanSchemaVersion,
25
25
  tileflowArtifactSessionSchemaVersion,
26
+ tileflowLandmarkRegionOf,
27
+ tileflowLandmarkRegionZoom,
28
+ tileflowLandmarkTileOf,
29
+ tileflowLandmarkTileZoom,
26
30
  tileflowLineBackgroundGlyphRoute,
27
31
  usesTileflowLineBackgroundGlyphs,
28
32
  writeTileflowArtifactPlan,
29
33
  writeTileflowBuildArtifacts
30
- } from "./chunk-2QXKVQ6O.js";
34
+ } from "./chunk-WJOF6USY.js";
31
35
  import {
32
36
  getTileflowAssetBasePath,
33
37
  getTileflowAssetFileName,
@@ -35,7 +39,11 @@ import {
35
39
  normalizeTileflowBasePath,
36
40
  resolveTileflowArtifactPublicUrls
37
41
  } from "./chunk-UTRO4IBQ.js";
38
- import "./chunk-IR22ZTQW.js";
42
+ import {
43
+ encodeTileflowLandmarkRegion,
44
+ packageTileflowLandmarkTile,
45
+ prepareTileflowBuildingModel
46
+ } from "./chunk-QYU4OW5A.js";
39
47
  import "./chunk-7C4F6GAX.js";
40
48
  import "./chunk-KDFTE4Q5.js";
41
49
  import {
@@ -59,6 +67,7 @@ export {
59
67
  createTileflowStyles,
60
68
  defaultTileflowConfigPath,
61
69
  disposeTileflowBuildArtifacts,
70
+ encodeTileflowLandmarkRegion,
62
71
  getTileflowArtifactFiles,
63
72
  getTileflowAssetBasePath,
64
73
  getTileflowAssetFileName,
@@ -66,7 +75,9 @@ export {
66
75
  isTileflowArtifactInputPath,
67
76
  joinTileflowPublicUrl,
68
77
  normalizeTileflowBasePath,
78
+ packageTileflowLandmarkTile,
69
79
  parseTileflowLineBackgroundGlyphPath,
80
+ prepareTileflowBuildingModel,
70
81
  prepareTileflowHostedNativeDeployment,
71
82
  prepareTileflowLocalTilesets,
72
83
  refreshTileflowArtifactSession,
@@ -74,6 +85,10 @@ export {
74
85
  tileflowArtifactInventoryFileName,
75
86
  tileflowArtifactPlanSchemaVersion,
76
87
  tileflowArtifactSessionSchemaVersion,
88
+ tileflowLandmarkRegionOf,
89
+ tileflowLandmarkRegionZoom,
90
+ tileflowLandmarkTileOf,
91
+ tileflowLandmarkTileZoom,
77
92
  tileflowLineBackgroundGlyphRoute,
78
93
  usesTileflowLineBackgroundGlyphs,
79
94
  writeTileflowArtifactPlan,