@tileflow/core 0.1.0-alpha.32 → 0.1.0-alpha.34

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
@@ -69,7 +69,7 @@ Omitted fields inherit, but declaring a field does not imply a recursive merge:
69
69
  - `fonts` and `glyphs` are mutually exclusive text providers. Declaring either replaces the inherited
70
70
  provider. `atmosphere`, `data`, `projection`, `terrain`, and `marine` are also atomic.
71
71
 
72
- Identity (`id`, `name`, `version`) and tooling `scenes` belong to the leaf map and do not inherit.
72
+ Identity (`id`, `name`, `version`) and tooling `scenes` and `shots` belong to the leaf map and do not inherit.
73
73
  Module object order does not determine rendering order. See the
74
74
  [map inheritance contract](https://github.com/tileflow/tileflow-sdk/blob/main/docs/contracts/map-inheritance.md)
75
75
  for the complete merge rules.
@@ -150,6 +150,23 @@ values a theme interpolates on them move smoothly; see
150
150
  For application-drawn RGBA symbols, it also manages fixed-size
151
151
  [dynamic style images](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/dynamic-style-images.md),
152
152
  including state refresh, theme changes and restoration without changing layer placement.
153
+ Applications draw their own routes in the theme's inks, read with `getRouteInks()`, and draw them
154
+ on with `createTileflowLineProgress`. `createTileflowGroundLayers` keeps them under 3D buildings,
155
+ which hide them where they stand in front, and can show the hidden stretches faintly; see
156
+ [route drawing](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/route-drawing.md).
157
+ A theme can describe its sun and sky light (`lighting.sun`, `lighting.ambient`); the controller
158
+ returns the sun the map shows with `getSun()`, mixed during a blend, for an application's own 3D
159
+ layers, and `setSun()` places it by direction or by the real sun of a date and place; see
160
+ [sun and light](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/sun-and-light.md).
161
+ `createTileflowBuildings3D` raises the map's buildings round the camera and lights them from that
162
+ sun, with shadows on the buildings and the flat map, contact shadow and night light from the places
163
+ they hold; it shows, hides and grows them without laying out any source; see
164
+ [3D buildings](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/buildings-3d.md).
165
+ `createTileflowStreetLights` lights the streets as the sun sets, from the lamps and lit streets the
166
+ map's data holds; see
167
+ [street lights](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/street-lights.md).
168
+ `createTileflowTrees3D` stands the map's trees in 3D in the same light; see
169
+ [3D trees](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/trees-3d.md).
153
170
 
154
171
  The semantic domains are `land`, `water`, `nautical`, `roads`, `buildings`, `boundaries`, `labels`,
155
172
  `poi`, `aeroways`, `transit`, `vegetation`, `addresses`, and `landforms`. Style stable geographic
@@ -243,6 +260,15 @@ standalone capture apply the browser effect automatically. Direct MapLibre integ
243
260
  `attachTileflowAtmosphere(map)` from `@tileflow/core/browser`. See
244
261
  [globe atmosphere](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/globe-atmosphere.md).
245
262
 
263
+ Applications that need the map's data themselves, such as streets to route over or the place
264
+ under the camera, read chosen layers of a vector source for an area at a fixed zoom with
265
+ `createTileflowTileReader` from `@tileflow/core/browser`, which also runs in a module worker. See
266
+ [application tile reading](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/application-tile-reading.md).
267
+
268
+ In a 3D scene, `createTileflowDepthMarkers` from `@tileflow/core/browser` draws application markers
269
+ that nearer buildings hide, facing the viewer or lying on the ground. See
270
+ [depth markers](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/depth-markers.md).
271
+
246
272
  A map with text must declare exactly one text provider. Streets, Ferraris, Härad, Soundings,
247
273
  and Blueprint use URL glyph providers. Baedeker and Siegfried use packaged Cormorant
248
274
  fonts, and Cívica uses its packaged lettering. Hosted deployment currently rejects
@@ -268,13 +294,22 @@ revision; prefer the installed copy when working with an older release.
268
294
  - [Authoring model](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/authoring-model.md)
269
295
  - [Shared visual primitives](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/shared-visual-primitives.md)
270
296
  - [Compiled-style performance](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/compiled-style-performance.md)
297
+ - [Camera moves and the tile cache](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/camera-moves-and-tile-cache.md)
271
298
  - [Themes and module styles](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/themes-and-module-styles.md)
272
299
  - [Theme transitions and blends](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/theme-transitions-and-blends.md)
273
300
  - [Map emphasis](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/map-emphasis.md)
274
301
  - [Style states](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/style-states.md)
302
+ - [Route drawing](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/route-drawing.md)
303
+ - [Sun and light](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/sun-and-light.md)
304
+ - [3D buildings](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/buildings-3d.md)
305
+ - [Street lights](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/street-lights.md)
306
+ - [3D trees](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/trees-3d.md)
275
307
  - [Data is separate from design](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/data-is-separate-from-design.md)
276
308
  - [Capture scenes](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/capture-scenes.md)
309
+ - [Capture shots](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/capture-shots.md)
277
310
  - [Public API and browser subpath](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/public-api-and-browser-subpath.md)
311
+ - [Application tile reading](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/application-tile-reading.md)
312
+ - [Depth markers](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/depth-markers.md)
278
313
  - [Hosted session authorization](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/hosted-session-authorization.md)
279
314
  - [Native resource URLs](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/native-resource-urls.md)
280
315
  - [Native artifact profile](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/native-artifact-profile.md)
@@ -1,7 +1,7 @@
1
1
  # Third-party notices
2
2
 
3
- `@tileflow/core/browser` embeds `maplibre-contour` 0.1.0, `PMTiles` 4.4.0, and `fflate` 0.8.3 so
4
- contour and local archive rendering remain self-contained. The complete upstream licenses follow.
3
+ `@tileflow/core/browser` embeds `maplibre-contour` 0.1.0, `PMTiles` 4.4.0, `fflate` 0.8.3, and
4
+ `earcut` 3.2.4 so contour, local archive, and 3D building rendering remain self-contained. The complete upstream licenses follow.
5
5
 
6
6
  ## maplibre-contour 0.1.0
7
7
 
@@ -203,6 +203,29 @@ OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
203
203
 
204
204
  ---
205
205
 
206
+ ## earcut 3.2.4
207
+
208
+ Polygon triangulation for the 3D buildings renderer, bundled in `dist/browser.js`.
209
+ <https://github.com/mapbox/earcut>
210
+
211
+ ```text
212
+ ISC License
213
+
214
+ Copyright (c) 2026, Mapbox
215
+
216
+ Permission to use, copy, modify, and/or distribute this software for any purpose
217
+ with or without fee is hereby granted, provided that the above copyright notice
218
+ and this permission notice appear in all copies.
219
+
220
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
221
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
222
+ FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
223
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
224
+ OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
225
+ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
226
+ THIS SOFTWARE.
227
+ ```
228
+
206
229
  ## fflate 0.8.3
207
230
 
208
231
  MIT License