@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.
- package/README.md +10 -10
- package/dist/3d-BkaJjwfk.d.ts +1083 -0
- package/dist/3d.d.ts +1 -0
- package/dist/3d.js +12331 -0
- package/dist/browser.d.ts +788 -1409
- package/dist/browser.js +11457 -9407
- package/dist/build.d.ts +4 -3
- package/dist/build.js +1135 -203
- package/dist/capture.js +4 -1
- package/dist/config-reference.json +927 -548
- package/dist/{icon-composition-C5X3Q9Ya.d.ts → icon-composition-Ivgoxz8d.d.ts} +172 -5
- package/dist/index.d.ts +174 -5
- package/dist/index.js +1797 -330
- 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 -0
- package/docs/application-tile-reading.md +5 -2
- package/docs/authoring-model.md +8 -0
- package/docs/buildings-3d.md +80 -12
- package/docs/compiled-style-performance.md +11 -2
- package/docs/data-is-separate-from-design.md +6 -3
- 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 +7 -2
- package/docs/street-lights.md +5 -1
- package/docs/street-sky.md +153 -0
- package/docs/sun-and-light.md +4 -2
- package/docs/trees-3d.md +11 -6
- package/package.json +6 -1
- 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
|
|
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
|
|
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
|