@tileflow/svelte 0.1.0-alpha.33 → 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
@@ -101,7 +101,7 @@ Theme and `timeOfDay` changes cross-fade over 450 ms by default, respecting redu
101
101
  `themeBlend={{themes: ['night', 'dusk', 'day'], position}}` shows a continuous blend of the map's
102
102
  themes instead of `theme`: position 0 is the first theme and 1.5 is halfway from the second to the
103
103
  third. Moving the position updates the map at once. See
104
- [theme transitions and blends](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/theme-transitions-and-blends.md).
104
+ [theme transitions and blends](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/README.md).
105
105
 
106
106
  Interactive maps show the 3D scene their style declares by default: buildings with Tileflow
107
107
  landmarks and the map's Team building models, 3D trees, and street lights where the map enables
@@ -111,8 +111,8 @@ draws vegetation as the map's policy sets for the 2D view (Streets keeps its mod
111
111
  view). `vegetation` overrides vegetation visibility (omitting it uses the map default); `vegetation={false}`
112
112
  hides models and flat artwork alike. Changing either prop updates the existing map immediately.
113
113
  They do not change camera pitch and do not apply in image mode. See
114
- [the map's 3D scene](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/buildings-3d.md#the-maps-3d-scene)
115
- and [vegetation controls](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/trees-3d.md#visibility-and-representation).
114
+ [the map's 3D scene](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/README.md)
115
+ and [vegetation controls](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/README.md).
116
116
 
117
117
  `mapOptions` accepts native MapLibre options except `container` and `style`. Direct props win over
118
118
  those options, then the manifest view, then shared defaults. `TileflowMap` always selects a Tileflow
@@ -224,5 +224,5 @@ managed delivery is required. Imports and the image path remain SSR-safe; intera
224
224
  requires a browser with WebGL.
225
225
 
226
226
  See the [interaction guide](https://github.com/tileflow/tileflow-sdk/blob/main/packages/interactions/README.md)
227
- and [browser runtime contract](https://github.com/tileflow/tileflow-sdk/blob/main/docs/contracts/framework-browser-runtime.md).
227
+ and [browser runtime contract](https://github.com/tileflow/tileflow-sdk/blob/main/README.md).
228
228
  Use the installed declarations and README for release-specific behavior; `main` may be newer than npm.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tileflow/svelte",
3
- "version": "0.1.0-alpha.33",
3
+ "version": "0.1.0-alpha.34",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Svelte component for rendering Tileflow maps with MapLibre.",
6
6
  "type": "module",
@@ -44,8 +44,8 @@
44
44
  "access": "public"
45
45
  },
46
46
  "dependencies": {
47
- "@tileflow/core": ">=0.1.0-alpha.40 <0.1.0-beta.0",
48
- "@tileflow/interactions": ">=0.1.0-alpha.6 <0.1.0-beta.0"
47
+ "@tileflow/core": ">=0.1.0-alpha.43 <0.1.0-beta.0",
48
+ "@tileflow/interactions": ">=0.1.0-alpha.7 <0.1.0-beta.0"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "maplibre-gl": ">=6.4.1 <7",
@@ -31,6 +31,7 @@
31
31
  import {
32
32
  attachTileflowAtmosphere,
33
33
  attachTileflowLabelPlacement,
34
+ attachTileflowHorizonQueries,
34
35
  attachTileflowFairUseNotice,
35
36
  attachTileflowMap3D,
36
37
  attachTileflowMapLifecycle,
@@ -43,6 +44,7 @@
43
44
  getTileflowSystemColorScheme,
44
45
  loadTileflowStyleFonts,
45
46
  registerTileflowContourProtocol,
47
+ registerTileflowPathGroundProtocol,
46
48
  registerTileflowPmtilesProtocol,
47
49
  registerTileflowWorldRequestBridge,
48
50
  subscribeTileflowSystemColorScheme,
@@ -583,6 +585,7 @@
583
585
  });
584
586
  mapFairUseNotice = attachTileflowFairUseNotice(targetContainer);
585
587
  registerTileflowContourProtocol({addProtocol: maplibregl.addProtocol});
588
+ registerTileflowPathGroundProtocol({addProtocol: maplibregl.addProtocol});
586
589
  registerTileflowPmtilesProtocol({addProtocol: maplibregl.addProtocol});
587
590
  mapWorldRequestBridge = registerTileflowWorldRequestBridge({
588
591
  addProtocol: maplibregl.addProtocol,
@@ -616,6 +619,8 @@
616
619
  attachTileflowNotices(maplibreMap);
617
620
  attachTileflowNauticalLights(maplibreMap);
618
621
  attachTileflowLabelPlacement(maplibreMap);
622
+ // Feature queries and taps keep working once a steep pitch shows the horizon.
623
+ attachTileflowHorizonQueries(maplibreMap);
619
624
  themeController =
620
625
  runtime.theme === undefined
621
626
  ? null