@tileflow/core 0.1.0-alpha.38 → 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.
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
@@ -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
@@ -534,6 +534,7 @@ type TileflowBuildings3DMap = {
534
534
  getLayer(id: string): unknown;
535
535
  getPaintProperty(layer: string, name: string): unknown;
536
536
  getPitch(): number;
537
+ getSky?(): unknown;
537
538
  getSource(id: string): unknown;
538
539
  getStyle(): unknown;
539
540
  getZoom(): number;
@@ -686,6 +687,8 @@ type TileflowTrees3DMap = {
686
687
  /** The style's layer ids in order, read without serializing the style. */
687
688
  getLayersOrder?(): string[];
688
689
  getPitch(): number;
690
+ getSky?(): unknown;
691
+ getVerticalFieldOfView?(): number;
689
692
  getSource(id: string): unknown;
690
693
  getStyle(): unknown;
691
694
  getZoom(): number;
package/dist/3d.d.ts CHANGED
@@ -1 +1 @@
1
- export { t as TileflowMap3D, B as TileflowMap3DMap, s as TileflowMap3DOptions, a9 as createTileflowMap3D } from './3d-D9c3i78O.js';
1
+ export { t as TileflowMap3D, B as TileflowMap3DMap, s as TileflowMap3DOptions, a9 as createTileflowMap3D } from './3d-BkaJjwfk.js';