@tileflow/vue 0.1.0-alpha.32 → 0.1.0-alpha.33
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 +2 -1
- package/dist/index.js +4 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -94,7 +94,8 @@ 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
|
-
|
|
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
|
package/dist/index.js
CHANGED
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
attachTileflowAtmosphere,
|
|
18
18
|
attachTileflowFairUseNotice,
|
|
19
|
+
attachTileflowLabelPlacement,
|
|
19
20
|
attachTileflowMap3D,
|
|
20
21
|
attachTileflowMapLifecycle,
|
|
21
22
|
attachTileflowNauticalLights,
|
|
@@ -29,8 +30,8 @@ import {
|
|
|
29
30
|
registerTileflowPmtilesProtocol,
|
|
30
31
|
registerTileflowWorldRequestBridge,
|
|
31
32
|
subscribeTileflowSystemColorScheme,
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
tileflowCanvasContextAttributes,
|
|
34
|
+
tileflowMaxPitch
|
|
34
35
|
} from "@tileflow/core/browser";
|
|
35
36
|
import { normalizeTileflowCaptureId } from "@tileflow/core/capture";
|
|
36
37
|
import {
|
|
@@ -825,6 +826,7 @@ var TileflowMap = defineComponent({
|
|
|
825
826
|
attachTileflowAtmosphere(map);
|
|
826
827
|
attachTileflowNotices(map);
|
|
827
828
|
attachTileflowNauticalLights(map);
|
|
829
|
+
attachTileflowLabelPlacement(map);
|
|
828
830
|
themeController = runtime.theme === void 0 ? null : createTileflowThemeController({
|
|
829
831
|
initial: runtime,
|
|
830
832
|
map,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tileflow/vue",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.33",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Vue component for rendering Tileflow maps with MapLibre.",
|
|
6
6
|
"type": "module",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@tileflow/core": ">=0.1.0-alpha.
|
|
41
|
+
"@tileflow/core": ">=0.1.0-alpha.40 <0.1.0-beta.0",
|
|
42
42
|
"@tileflow/interactions": ">=0.1.0-alpha.6 <0.1.0-beta.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|