@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 +9 -9
- package/dist/{3d-D9c3i78O.d.ts → 3d-BkaJjwfk.d.ts} +3 -0
- package/dist/3d.d.ts +1 -1
- package/dist/3d.js +325 -76
- package/dist/browser.d.ts +341 -12
- package/dist/browser.js +9412 -7855
- package/dist/build.d.ts +4 -3
- package/dist/build.js +854 -117
- package/dist/capture.js +4 -1
- package/dist/config-reference.json +417 -159
- package/dist/{icon-composition-Br4Bd2bY.d.ts → icon-composition-Ivgoxz8d.d.ts} +156 -5
- package/dist/index.d.ts +165 -5
- package/dist/index.js +1508 -260
- package/dist/{manifest-types-jrBdBrES.d.ts → manifest-types-DRy2980g.d.ts} +5 -2
- package/dist/manifest.d.ts +2 -2
- package/dist/manifest.js +4 -1
- package/dist/native-profile.d.ts +4 -0
- package/dist/native-profile.js +2 -0
- package/dist/native.js +11 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +11 -1
- package/dist/worker/camera-tile-worker.global.js +20 -1
- package/docs/globe-atmosphere.md +3 -0
- package/docs/native-artifact-profile.md +2 -2
- package/docs/nautical-marks.md +147 -39
- package/docs/public-api-and-browser-subpath.md +3 -2
- package/docs/street-sky.md +153 -0
- package/docs/sun-and-light.md +4 -2
- package/package.json +1 -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
|
|
@@ -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
|
|
243
|
-
|
|
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`
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
[
|
|
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-
|
|
1
|
+
export { t as TileflowMap3D, B as TileflowMap3DMap, s as TileflowMap3DOptions, a9 as createTileflowMap3D } from './3d-BkaJjwfk.js';
|