@tileflow/core 0.1.0-alpha.37 → 0.1.0-alpha.39

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.
Files changed (37) hide show
  1. package/README.md +10 -10
  2. package/dist/3d-BkaJjwfk.d.ts +1083 -0
  3. package/dist/3d.d.ts +1 -0
  4. package/dist/3d.js +12331 -0
  5. package/dist/browser.d.ts +788 -1409
  6. package/dist/browser.js +11457 -9407
  7. package/dist/build.d.ts +4 -3
  8. package/dist/build.js +1135 -203
  9. package/dist/capture.js +4 -1
  10. package/dist/config-reference.json +927 -548
  11. package/dist/{icon-composition-C5X3Q9Ya.d.ts → icon-composition-Ivgoxz8d.d.ts} +172 -5
  12. package/dist/index.d.ts +174 -5
  13. package/dist/index.js +1797 -330
  14. package/dist/{manifest-types-jrBdBrES.d.ts → manifest-types-DRy2980g.d.ts} +5 -2
  15. package/dist/manifest.d.ts +2 -2
  16. package/dist/manifest.js +4 -1
  17. package/dist/native-profile.d.ts +4 -0
  18. package/dist/native-profile.js +2 -0
  19. package/dist/native.js +11 -1
  20. package/dist/runtime.d.ts +1 -1
  21. package/dist/runtime.js +11 -1
  22. package/dist/worker/camera-tile-worker.global.js +20 -0
  23. package/docs/application-tile-reading.md +5 -2
  24. package/docs/authoring-model.md +8 -0
  25. package/docs/buildings-3d.md +80 -12
  26. package/docs/compiled-style-performance.md +11 -2
  27. package/docs/data-is-separate-from-design.md +6 -3
  28. package/docs/globe-atmosphere.md +3 -0
  29. package/docs/native-artifact-profile.md +2 -2
  30. package/docs/nautical-marks.md +147 -39
  31. package/docs/public-api-and-browser-subpath.md +7 -2
  32. package/docs/street-lights.md +5 -1
  33. package/docs/street-sky.md +153 -0
  34. package/docs/sun-and-light.md +4 -2
  35. package/docs/trees-3d.md +11 -6
  36. package/package.json +6 -1
  37. package/dist/worker/buildings-3d-worker.global.js +0 -1
package/README.md CHANGED
@@ -66,7 +66,7 @@ Omitted fields inherit, but declaring a field does not imply a recursive merge:
66
66
  Spread the parent's list explicitly when composing contributors. Later contributors win for an
67
67
  exact icon ID.
68
68
  - `fonts` and `glyphs` are mutually exclusive text providers. Declaring either replaces the inherited
69
- provider. `atmosphere`, `data`, `projection`, `terrain`, and `marine` are also atomic.
69
+ provider. `atmosphere`, `data`, `projection`, `sky`, `terrain`, and `marine` are also atomic.
70
70
 
71
71
  Identity (`id`, `name`, `version`) and tooling `scenes` and `shots` belong to the leaf map and do not inherit.
72
72
  Module object order does not determine rendering order. See the
@@ -157,7 +157,7 @@ A theme can describe its sun and sky light (`lighting.sun`, `lighting.ambient`);
157
157
  returns the sun the map shows with `getSun()`, mixed during a blend, for an application's own 3D
158
158
  layers, and `setSun()` places it by direction or by the real sun of a date and place; see
159
159
  [sun and light](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/sun-and-light.md).
160
- `createTileflowBuildings3D` enables worker-meshed buildings fading in at zoom 15–15.25, with scene
160
+ `createTileflowBuildings3D` enables worker-meshed buildings rising in at zoom 15–15.3, with scene
161
161
  sun, cast/contact shadows and 0.8 m rounded corners. Each effect is independently overridable. See
162
162
  [3D buildings](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/buildings-3d.md).
163
163
  Street lights default to off, including in Streets. Set `roads.streetLights.enabled: true` and mount
@@ -239,8 +239,8 @@ Tileflow World is the hosted primary source. `vectorTiles()` with `openMapTiles(
239
239
  external local/self-hosted data; hosted eligibility is separate. `hostedTileset()`, `boundaryAreas`
240
240
  and semantic overlays add named sources. Local PMTiles inputs are tooling-only.
241
241
 
242
- `bathymetry({vectorLayers: {...}})` declares compatible contour/name layers. `marine: 'nautical'`
243
- adds navigation marks and a "Not for navigation" notice.
242
+ `bathymetry({vectorLayers: {...}})` declares contour/name layers. `marine: 'nautical'` adds
243
+ navigation marks, flashing lights, and a "Not for navigation" notice.
244
244
 
245
245
  World attribution links to Tileflow's source notice, OpenMapTiles, and OpenStreetMap. External
246
246
  vector data retains the attribution supplied by its owner.
@@ -252,12 +252,12 @@ tooling prepare browser resources; direct MapLibre integrations must register re
252
252
  before loading a style. See the
253
253
  [browser runtime contract](https://github.com/tileflow/tileflow-sdk/blob/main/docs/contracts/framework-browser-runtime.md).
254
254
 
255
- Set `projection: 'globe'` and `atmosphere: true` in `tileflow.config.ts` for a blue globe rim,
256
- space background, and stars. Use `atmosphere: false` to disable an inherited atmosphere, or an
257
- options object for theme-aware colors and bounded star brightness/motion. Frameworks and capture
258
- apply it; direct MapLibre integrations call `attachTileflowAtmosphere(map)` from
259
- `@tileflow/core/browser`. See
260
- [globe atmosphere](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/globe-atmosphere.md).
255
+ Set `projection: 'globe'` and `atmosphere: true` for a globe rim, space, and stars, and `sky` for a
256
+ themed street-level sky that follows the sun. Frameworks and capture apply
257
+ both; direct MapLibre integrations call `attachTileflowAtmosphere(map)` from `@tileflow/core/browser`.
258
+ See
259
+ [globe atmosphere](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/globe-atmosphere.md)
260
+ and [street sky](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/street-sky.md).
261
261
 
262
262
  Applications that need the map's data themselves, such as streets to route over or the place
263
263
  under the camera, read chosen layers of a vector source for an area at a fixed zoom with