@tileflow/vue 0.1.0-alpha.32 → 0.1.0-alpha.34

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
@@ -94,11 +94,12 @@ Maps without this capability ignore the option; omitting it keeps the selected t
94
94
  Changing it uses the existing theme transition. `themeBlend` takes precedence. See the
95
95
  [authoring contract](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/README.md#style-with-themes-and-semantic-modules).
96
96
 
97
- `:theme-transition="{duration: 450}"` cross-fades theme changes over that many milliseconds.
97
+ Theme and `time-of-day` changes cross-fade over 450 ms by default, respecting reduced motion.
98
+ `:theme-transition="{duration: 700}"` customizes the duration; use `duration: 0` for an immediate change.
98
99
  `:theme-blend="{themes: ['night', 'dusk', 'day'], position}"` shows a continuous blend of the
99
100
  map's themes instead of `theme`: position 0 is the first theme and 1.5 is halfway from the second to
100
101
  the third. Moving the position updates the map at once. See
101
- [theme transitions and blends](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/theme-transitions-and-blends.md).
102
+ [theme transitions and blends](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/README.md).
102
103
 
103
104
  Interactive maps show the 3D scene their style declares by default: buildings with Tileflow
104
105
  landmarks and the map's Team building models, 3D trees, and street lights where the map enables
@@ -108,8 +109,8 @@ draws vegetation as the map's policy sets for the 2D view (Streets keeps its mod
108
109
  view). `vegetation` overrides vegetation visibility (omitting it uses the map default); `:vegetation="false"`
109
110
  hides models and flat artwork alike. Changing either prop updates the existing map immediately.
110
111
  They do not change camera pitch and do not apply in image mode. See
111
- [the map's 3D scene](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/buildings-3d.md#the-maps-3d-scene)
112
- and [vegetation controls](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/trees-3d.md#visibility-and-representation).
112
+ [the map's 3D scene](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/README.md)
113
+ and [vegetation controls](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/README.md).
113
114
 
114
115
  `mapOptions` accepts native MapLibre options except `container` and `style`. Direct props take
115
116
  priority over those options, then the published view, then shared defaults. `TileflowMap` always
@@ -215,5 +216,5 @@ Direct World maps can show owner-action notices when managed delivery is require
215
216
  image path remain SSR-safe; interactive rendering needs a browser with WebGL.
216
217
 
217
218
  See the [interaction guide](https://github.com/tileflow/tileflow-sdk/blob/main/packages/interactions/README.md)
218
- and [browser runtime contract](https://github.com/tileflow/tileflow-sdk/blob/main/docs/contracts/framework-browser-runtime.md).
219
+ and [browser runtime contract](https://github.com/tileflow/tileflow-sdk/blob/main/README.md).
219
220
  Use the installed package's declarations and README for a release; `main` can include newer changes.
package/dist/index.js CHANGED
@@ -16,6 +16,8 @@ import {
16
16
  import {
17
17
  attachTileflowAtmosphere,
18
18
  attachTileflowFairUseNotice,
19
+ attachTileflowHorizonQueries,
20
+ attachTileflowLabelPlacement,
19
21
  attachTileflowMap3D,
20
22
  attachTileflowMapLifecycle,
21
23
  attachTileflowNauticalLights,
@@ -26,11 +28,12 @@ import {
26
28
  getTileflowSystemColorScheme,
27
29
  loadTileflowStyleFonts,
28
30
  registerTileflowContourProtocol,
31
+ registerTileflowPathGroundProtocol,
29
32
  registerTileflowPmtilesProtocol,
30
33
  registerTileflowWorldRequestBridge,
31
34
  subscribeTileflowSystemColorScheme,
32
- tileflowMaxPitch,
33
- tileflowCanvasContextAttributes
35
+ tileflowCanvasContextAttributes,
36
+ tileflowMaxPitch
34
37
  } from "@tileflow/core/browser";
35
38
  import { normalizeTileflowCaptureId } from "@tileflow/core/capture";
36
39
  import {
@@ -790,6 +793,7 @@ var TileflowMap = defineComponent({
790
793
  });
791
794
  mapFairUseNotice = attachTileflowFairUseNotice(container);
792
795
  registerTileflowContourProtocol({ addProtocol: maplibregl.addProtocol });
796
+ registerTileflowPathGroundProtocol({ addProtocol: maplibregl.addProtocol });
793
797
  registerTileflowPmtilesProtocol({ addProtocol: maplibregl.addProtocol });
794
798
  mapWorldRequestBridge = registerTileflowWorldRequestBridge({
795
799
  addProtocol: maplibregl.addProtocol,
@@ -825,6 +829,8 @@ var TileflowMap = defineComponent({
825
829
  attachTileflowAtmosphere(map);
826
830
  attachTileflowNotices(map);
827
831
  attachTileflowNauticalLights(map);
832
+ attachTileflowLabelPlacement(map);
833
+ attachTileflowHorizonQueries(map);
828
834
  themeController = runtime.theme === void 0 ? null : createTileflowThemeController({
829
835
  initial: runtime,
830
836
  map,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tileflow/vue",
3
- "version": "0.1.0-alpha.32",
3
+ "version": "0.1.0-alpha.34",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Vue component for rendering Tileflow maps with MapLibre.",
6
6
  "type": "module",
@@ -38,8 +38,8 @@
38
38
  "access": "public"
39
39
  },
40
40
  "dependencies": {
41
- "@tileflow/core": ">=0.1.0-alpha.39 <0.1.0-beta.0",
42
- "@tileflow/interactions": ">=0.1.0-alpha.6 <0.1.0-beta.0"
41
+ "@tileflow/core": ">=0.1.0-alpha.43 <0.1.0-beta.0",
42
+ "@tileflow/interactions": ">=0.1.0-alpha.7 <0.1.0-beta.0"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "maplibre-gl": ">=6.4.1 <7",