@tileflow/core 0.1.0-alpha.36 → 0.1.0-alpha.38
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 +13 -12
- package/dist/3d-D9c3i78O.d.ts +1080 -0
- package/dist/3d.d.ts +1 -0
- package/dist/3d.js +12082 -0
- package/dist/browser.d.ts +530 -1306
- package/dist/browser.js +7166 -5194
- package/dist/build.d.ts +2 -2
- package/dist/build.js +1707 -824
- package/dist/config-reference.json +3772 -1380
- package/dist/{icon-composition-sN3JkXdb.d.ts → icon-composition-Br4Bd2bY.d.ts} +348 -6
- package/dist/index.d.ts +162 -154
- package/dist/index.js +4003 -2740
- package/dist/worker/camera-tile-worker.global.js +1 -0
- package/docs/application-tile-reading.md +5 -2
- package/docs/authoring-model.md +8 -0
- package/docs/buildings-3d.md +185 -25
- package/docs/compiled-style-performance.md +11 -2
- package/docs/data-is-separate-from-design.md +18 -34
- package/docs/nautical-marks.md +200 -0
- package/docs/public-api-and-browser-subpath.md +8 -1
- package/docs/street-lights.md +5 -1
- 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
|
@@ -100,8 +100,8 @@ Metadata-free RGBA icon packages retain `tileflow-icon-package-v1` identity. SDF
|
|
|
100
100
|
|
|
101
101
|
These are portable contracts. `@tileflow/dev` composes declared contributors on its normal
|
|
102
102
|
preparation path, and the `tileflow` CLI owns catalog management and exact lock maintenance.
|
|
103
|
-
Importing `iconSet` adds a declaration; it
|
|
104
|
-
|
|
103
|
+
Importing `iconSet` adds a declaration; it resolves no revision and does not by itself make a
|
|
104
|
+
Team catalog available to your deployment.
|
|
105
105
|
|
|
106
106
|
## Style with themes and semantic modules
|
|
107
107
|
|
|
@@ -138,8 +138,8 @@ export default defineMap({
|
|
|
138
138
|
`system` is a runtime selection policy, not a stored theme. Builds, captures, static scenes, and
|
|
139
139
|
receipts must use a concrete theme such as `light` or `dark`.
|
|
140
140
|
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
Every theme of a map shares one structure, so a browser map can cross-fade or blend themes on one
|
|
142
|
+
MapLibre instance without extra requests. See
|
|
143
143
|
[theme transitions, time-of-day presets and blends](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/theme-transitions-and-blends.md).
|
|
144
144
|
The same controller can make chosen modules recede and the map's labels fade so an application's
|
|
145
145
|
own content reads first; see [map emphasis](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/map-emphasis.md).
|
|
@@ -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 compatible contour/name layers
|
|
243
|
-
|
|
242
|
+
`bathymetry({vectorLayers: {...}})` declares compatible contour/name layers. `marine: 'nautical'`
|
|
243
|
+
adds navigation marks 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.
|
|
@@ -254,9 +254,9 @@ before loading a style. See the
|
|
|
254
254
|
|
|
255
255
|
Set `projection: 'globe'` and `atmosphere: true` in `tileflow.config.ts` for a blue globe rim,
|
|
256
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.
|
|
258
|
-
|
|
259
|
-
|
|
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
260
|
[globe atmosphere](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/globe-atmosphere.md).
|
|
261
261
|
|
|
262
262
|
Applications that need the map's data themselves, such as streets to route over or the place
|
|
@@ -285,8 +285,8 @@ for exact options. Prefer the installed CLI's generated contracts when using a p
|
|
|
285
285
|
|
|
286
286
|
## Detailed guides
|
|
287
287
|
|
|
288
|
-
These guides
|
|
289
|
-
|
|
288
|
+
These guides also ship in the installed package under `docs/` and describe this source revision;
|
|
289
|
+
prefer the installed copy for an older release.
|
|
290
290
|
|
|
291
291
|
- [Globe atmosphere](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/globe-atmosphere.md)
|
|
292
292
|
- [Map and terrain examples](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/map-and-terrain-examples.md)
|
|
@@ -305,6 +305,7 @@ revision; prefer the installed copy when working with an older release.
|
|
|
305
305
|
- [Street lights](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/street-lights.md)
|
|
306
306
|
- [3D trees](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/trees-3d.md)
|
|
307
307
|
- [Boundary areas and choropleths](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/boundary-areas-and-choropleths.md)
|
|
308
|
+
- [Nautical marks](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/nautical-marks.md)
|
|
308
309
|
- [Data is separate from design](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/data-is-separate-from-design.md)
|
|
309
310
|
- [Capture scenes](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/capture-scenes.md)
|
|
310
311
|
- [Capture shots](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/capture-shots.md)
|