@tileflow/react 0.1.0-alpha.26 → 0.1.0-alpha.27

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -0
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -11,6 +11,7 @@ import {
11
11
  } from "react";
12
12
  import { createPortal } from "react-dom";
13
13
  import {
14
+ attachTileflowAtmosphere,
14
15
  attachTileflowFairUseNotice,
15
16
  attachTileflowMapLifecycle,
16
17
  createTileflowSessionStarter,
@@ -719,6 +720,7 @@ function Map2(props) {
719
720
  mapRef.current = map;
720
721
  setupResources.map = map;
721
722
  registerCleanup(() => map.remove());
723
+ registerCleanup(attachTileflowAtmosphere(map));
722
724
  const themeController = initialRuntimeStyle.theme === void 0 ? void 0 : createTileflowThemeController({
723
725
  initial: initialRuntimeStyle,
724
726
  map,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tileflow/react",
3
- "version": "0.1.0-alpha.26",
3
+ "version": "0.1.0-alpha.27",
4
4
  "license": "Apache-2.0",
5
5
  "description": "React components for rendering Tileflow maps with MapLibre.",
6
6
  "type": "module",
@@ -43,7 +43,7 @@
43
43
  "access": "public"
44
44
  },
45
45
  "dependencies": {
46
- "@tileflow/core": ">=0.1.0-alpha.27 <0.1.0-beta.0",
46
+ "@tileflow/core": ">=0.1.0-alpha.29 <0.1.0-beta.0",
47
47
  "@tileflow/interactions": ">=0.1.0-alpha.4 <0.1.0-beta.0",
48
48
  "@tileflow/static": ">=0.1.0-alpha.27 <0.1.0-beta.0"
49
49
  },