diff --git a/.changeset/add-layer-control-maplibre.md b/.changeset/add-layer-control-maplibre.md deleted file mode 100644 index 767bacf..0000000 --- a/.changeset/add-layer-control-maplibre.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@xtramaps/layer-control-maplibre": minor -"@xtramaps/layer-control-maplibre-react": minor ---- - -Add `@xtramaps/layer-control-maplibre` (core) and `@xtramaps/layer-control-maplibre-react`: the LayerControl component extracted from `ogcapi-html`, supporting nested groups, radio-groups and merge-groups (including `sourceLayer` auto-collection). Legend icons are now provided by `@xtramaps/legend-symbols-maplibre-react` instead of a local copy. Mounted via `@vis.gl/react-maplibre`'s `useControl`/`useMap` and composed explicitly as a child of `@xtramaps/web-map-maplibre-react`'s `MapLibre` component (no dependency between the two packages). diff --git a/.changeset/add-web-map-cesium.md b/.changeset/add-web-map-cesium.md deleted file mode 100644 index e8c30e6..0000000 --- a/.changeset/add-web-map-cesium.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -"@xtramaps/web-map-cesium": minor -"@xtramaps/web-map-cesium-react": minor ---- - -Add `@xtramaps/web-map-cesium` (core) and `@xtramaps/web-map-cesium-react`: the Cesium map component migrated from `ogcapi-html`, onto current `@cesium/engine`/`@cesium/widgets` (`^26`/`^16`, up from `^2.3.0`/`^2.2.0`). Same viewer construction (background imagery, terrain), 3D Tileset loading (including the vertical-shift correction math), and no LayerControl/legend equivalent - the original never had one for Cesium either. - -Unlike the OpenLayers/MapLibre migrations, the original `Cesium` component was never a React component - it was a single imperative function called once per page load, with no cleanup, no error handling on its async tileset/style loading, and two previously-dead CSS rules (`style.css` was never imported). `web-map-cesium-react` wraps the same logic in a `useEffect`-driven component and makes three deliberate additions the original didn't have, since a reusable library component can be mounted and unmounted repeatedly (Storybook, demos, consumer apps) unlike a one-shot page script: - -- `viewer.destroy()` runs on unmount -- viewer/tileset creation failures are caught and logged instead of failing silently -- the credit-bar CSS rules are now actually imported and applied - -The component mounts once; prop changes after the initial render aren't reflected, matching the original's single-mount design (Cesium never had a dynamic update path the way OpenLayers/MapLibre's TileMatrixSet switching does). diff --git a/.changeset/add-web-map-maplibre.md b/.changeset/add-web-map-maplibre.md deleted file mode 100644 index 4d2b411..0000000 --- a/.changeset/add-web-map-maplibre.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@xtramaps/web-map-maplibre": minor -"@xtramaps/web-map-maplibre-react": minor ---- - -Add `@xtramaps/web-map-maplibre` (core) and `@xtramaps/web-map-maplibre-react`: the MapLibre map component extracted from `ogcapi-html`, rebuilt on `@vis.gl/react-maplibre` and current `maplibre-gl` (`^6`) instead of the unmaintained `react-maplibre-ui`. Includes style/data-layer helpers, hover/click popups, and a `CanvasOverlay` (formerly `CanvasPlugin`) for rendering arbitrary React children into the map canvas. diff --git a/.changeset/add-web-map-openlayers.md b/.changeset/add-web-map-openlayers.md deleted file mode 100644 index 639fbfc..0000000 --- a/.changeset/add-web-map-openlayers.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@xtramaps/web-map-openlayers": minor -"@xtramaps/web-map-openlayers-react": minor ---- - -Add `@xtramaps/web-map-openlayers` (core) and `@xtramaps/web-map-openlayers-react`: the OpenLayers map component migrated 1:1 from `ogcapi-html`, onto current `rlayers` (`3.9.0`) and `ol` (`10.8.0`) instead of the outdated `rlayers@1.1.1`/`ol@6.9.0`. Unlike the MapLibre extraction, this is a pure migration with no new LayerControl/legend equivalent — the original component never had one. The `globalThis._map.setCurrentTileMatrixSet` global bridge is replaced with a `forwardRef`/`useImperativeHandle`-based ref API. diff --git a/packages/core/layer-control-maplibre/CHANGELOG.md b/packages/core/layer-control-maplibre/CHANGELOG.md new file mode 100644 index 0000000..407dcea --- /dev/null +++ b/packages/core/layer-control-maplibre/CHANGELOG.md @@ -0,0 +1,7 @@ +# @xtramaps/layer-control-maplibre + +## 1.1.0 + +### Minor Changes + +- d80e22d: Add `@xtramaps/layer-control-maplibre` (core) and `@xtramaps/layer-control-maplibre-react`: the LayerControl component extracted from `ogcapi-html`, supporting nested groups, radio-groups and merge-groups (including `sourceLayer` auto-collection). Legend icons are now provided by `@xtramaps/legend-symbols-maplibre-react` instead of a local copy. Mounted via `@vis.gl/react-maplibre`'s `useControl`/`useMap` and composed explicitly as a child of `@xtramaps/web-map-maplibre-react`'s `MapLibre` component (no dependency between the two packages). diff --git a/packages/core/layer-control-maplibre/package.json b/packages/core/layer-control-maplibre/package.json index c90176d..6407c24 100644 --- a/packages/core/layer-control-maplibre/package.json +++ b/packages/core/layer-control-maplibre/package.json @@ -1,6 +1,6 @@ { "name": "@xtramaps/layer-control-maplibre", - "version": "1.0.0", + "version": "1.1.0", "license": "MIT", "homepage": "https://github.com/ldproxy/xtramaps/tree/main/packages/core/layer-control-maplibre#readme", "repository": { diff --git a/packages/core/web-map-cesium/CHANGELOG.md b/packages/core/web-map-cesium/CHANGELOG.md new file mode 100644 index 0000000..93155f2 --- /dev/null +++ b/packages/core/web-map-cesium/CHANGELOG.md @@ -0,0 +1,15 @@ +# @xtramaps/web-map-cesium + +## 1.1.0 + +### Minor Changes + +- d80e22d: Add `@xtramaps/web-map-cesium` (core) and `@xtramaps/web-map-cesium-react`: the Cesium map component migrated from `ogcapi-html`, onto current `@cesium/engine`/`@cesium/widgets` (`^26`/`^16`, up from `^2.3.0`/`^2.2.0`). Same viewer construction (background imagery, terrain), 3D Tileset loading (including the vertical-shift correction math), and no LayerControl/legend equivalent - the original never had one for Cesium either. + + Unlike the OpenLayers/MapLibre migrations, the original `Cesium` component was never a React component - it was a single imperative function called once per page load, with no cleanup, no error handling on its async tileset/style loading, and two previously-dead CSS rules (`style.css` was never imported). `web-map-cesium-react` wraps the same logic in a `useEffect`-driven component and makes three deliberate additions the original didn't have, since a reusable library component can be mounted and unmounted repeatedly (Storybook, demos, consumer apps) unlike a one-shot page script: + + - `viewer.destroy()` runs on unmount + - viewer/tileset creation failures are caught and logged instead of failing silently + - the credit-bar CSS rules are now actually imported and applied + + The component mounts once; prop changes after the initial render aren't reflected, matching the original's single-mount design (Cesium never had a dynamic update path the way OpenLayers/MapLibre's TileMatrixSet switching does). diff --git a/packages/core/web-map-cesium/package.json b/packages/core/web-map-cesium/package.json index 7e851c2..8348517 100644 --- a/packages/core/web-map-cesium/package.json +++ b/packages/core/web-map-cesium/package.json @@ -1,6 +1,6 @@ { "name": "@xtramaps/web-map-cesium", - "version": "1.0.0", + "version": "1.1.0", "license": "MIT", "homepage": "https://github.com/ldproxy/xtramaps/tree/main/packages/core/web-map-cesium#readme", "repository": { diff --git a/packages/core/web-map-maplibre/CHANGELOG.md b/packages/core/web-map-maplibre/CHANGELOG.md new file mode 100644 index 0000000..1ebb5e5 --- /dev/null +++ b/packages/core/web-map-maplibre/CHANGELOG.md @@ -0,0 +1,7 @@ +# @xtramaps/web-map-maplibre + +## 1.1.0 + +### Minor Changes + +- d80e22d: Add `@xtramaps/web-map-maplibre` (core) and `@xtramaps/web-map-maplibre-react`: the MapLibre map component extracted from `ogcapi-html`, rebuilt on `@vis.gl/react-maplibre` and current `maplibre-gl` (`^6`) instead of the unmaintained `react-maplibre-ui`. Includes style/data-layer helpers, hover/click popups, and a `CanvasOverlay` (formerly `CanvasPlugin`) for rendering arbitrary React children into the map canvas. diff --git a/packages/core/web-map-maplibre/package.json b/packages/core/web-map-maplibre/package.json index a40550e..74e1109 100644 --- a/packages/core/web-map-maplibre/package.json +++ b/packages/core/web-map-maplibre/package.json @@ -1,6 +1,6 @@ { "name": "@xtramaps/web-map-maplibre", - "version": "1.0.0", + "version": "1.1.0", "license": "MIT", "homepage": "https://github.com/ldproxy/xtramaps/tree/main/packages/core/web-map-maplibre#readme", "repository": { diff --git a/packages/core/web-map-openlayers/CHANGELOG.md b/packages/core/web-map-openlayers/CHANGELOG.md new file mode 100644 index 0000000..c29a11f --- /dev/null +++ b/packages/core/web-map-openlayers/CHANGELOG.md @@ -0,0 +1,7 @@ +# @xtramaps/web-map-openlayers + +## 1.1.0 + +### Minor Changes + +- d80e22d: Add `@xtramaps/web-map-openlayers` (core) and `@xtramaps/web-map-openlayers-react`: the OpenLayers map component migrated 1:1 from `ogcapi-html`, onto current `rlayers` (`3.9.0`) and `ol` (`10.8.0`) instead of the outdated `rlayers@1.1.1`/`ol@6.9.0`. Unlike the MapLibre extraction, this is a pure migration with no new LayerControl/legend equivalent — the original component never had one. The `globalThis._map.setCurrentTileMatrixSet` global bridge is replaced with a `forwardRef`/`useImperativeHandle`-based ref API. diff --git a/packages/core/web-map-openlayers/package.json b/packages/core/web-map-openlayers/package.json index 0a80ceb..8d2ead3 100644 --- a/packages/core/web-map-openlayers/package.json +++ b/packages/core/web-map-openlayers/package.json @@ -1,6 +1,6 @@ { "name": "@xtramaps/web-map-openlayers", - "version": "1.0.0", + "version": "1.1.0", "license": "MIT", "homepage": "https://github.com/ldproxy/xtramaps/tree/main/packages/core/web-map-openlayers#readme", "repository": { diff --git a/packages/react/layer-control-maplibre/CHANGELOG.md b/packages/react/layer-control-maplibre/CHANGELOG.md new file mode 100644 index 0000000..926088e --- /dev/null +++ b/packages/react/layer-control-maplibre/CHANGELOG.md @@ -0,0 +1,12 @@ +# @xtramaps/layer-control-maplibre-react + +## 1.1.0 + +### Minor Changes + +- d80e22d: Add `@xtramaps/layer-control-maplibre` (core) and `@xtramaps/layer-control-maplibre-react`: the LayerControl component extracted from `ogcapi-html`, supporting nested groups, radio-groups and merge-groups (including `sourceLayer` auto-collection). Legend icons are now provided by `@xtramaps/legend-symbols-maplibre-react` instead of a local copy. Mounted via `@vis.gl/react-maplibre`'s `useControl`/`useMap` and composed explicitly as a child of `@xtramaps/web-map-maplibre-react`'s `MapLibre` component (no dependency between the two packages). + +### Patch Changes + +- Updated dependencies [d80e22d] + - @xtramaps/layer-control-maplibre@1.1.0 diff --git a/packages/react/layer-control-maplibre/package.json b/packages/react/layer-control-maplibre/package.json index 91df0ef..2cc7f25 100644 --- a/packages/react/layer-control-maplibre/package.json +++ b/packages/react/layer-control-maplibre/package.json @@ -1,6 +1,6 @@ { "name": "@xtramaps/layer-control-maplibre-react", - "version": "1.0.0", + "version": "1.1.0", "license": "MIT", "homepage": "https://github.com/ldproxy/xtramaps/tree/main/packages/react/layer-control-maplibre#readme", "repository": { @@ -32,7 +32,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@xtramaps/layer-control-maplibre": "1.0.0", + "@xtramaps/layer-control-maplibre": "1.1.0", "@xtramaps/legend-symbols-maplibre-react": "1.0.0", "reactstrap": "^9.2.3" }, @@ -48,7 +48,7 @@ "@types/react-dom": "^19.2.3", "@vitejs/plugin-react": "^6.0.0", "@vis.gl/react-maplibre": "^8.1.2", - "@xtramaps/web-map-maplibre-react": "1.0.0", + "@xtramaps/web-map-maplibre-react": "1.1.0", "maplibre-gl": "^6.3.0", "react": "^19.2.4", "react-dom": "^19.2.4", diff --git a/packages/react/web-map-cesium/CHANGELOG.md b/packages/react/web-map-cesium/CHANGELOG.md new file mode 100644 index 0000000..124893a --- /dev/null +++ b/packages/react/web-map-cesium/CHANGELOG.md @@ -0,0 +1,20 @@ +# @xtramaps/web-map-cesium-react + +## 1.1.0 + +### Minor Changes + +- d80e22d: Add `@xtramaps/web-map-cesium` (core) and `@xtramaps/web-map-cesium-react`: the Cesium map component migrated from `ogcapi-html`, onto current `@cesium/engine`/`@cesium/widgets` (`^26`/`^16`, up from `^2.3.0`/`^2.2.0`). Same viewer construction (background imagery, terrain), 3D Tileset loading (including the vertical-shift correction math), and no LayerControl/legend equivalent - the original never had one for Cesium either. + + Unlike the OpenLayers/MapLibre migrations, the original `Cesium` component was never a React component - it was a single imperative function called once per page load, with no cleanup, no error handling on its async tileset/style loading, and two previously-dead CSS rules (`style.css` was never imported). `web-map-cesium-react` wraps the same logic in a `useEffect`-driven component and makes three deliberate additions the original didn't have, since a reusable library component can be mounted and unmounted repeatedly (Storybook, demos, consumer apps) unlike a one-shot page script: + + - `viewer.destroy()` runs on unmount + - viewer/tileset creation failures are caught and logged instead of failing silently + - the credit-bar CSS rules are now actually imported and applied + + The component mounts once; prop changes after the initial render aren't reflected, matching the original's single-mount design (Cesium never had a dynamic update path the way OpenLayers/MapLibre's TileMatrixSet switching does). + +### Patch Changes + +- Updated dependencies [d80e22d] + - @xtramaps/web-map-cesium@1.1.0 diff --git a/packages/react/web-map-cesium/package.json b/packages/react/web-map-cesium/package.json index f458a5e..9cb9aa3 100644 --- a/packages/react/web-map-cesium/package.json +++ b/packages/react/web-map-cesium/package.json @@ -1,6 +1,6 @@ { "name": "@xtramaps/web-map-cesium-react", - "version": "1.0.0", + "version": "1.1.0", "license": "MIT", "homepage": "https://github.com/ldproxy/xtramaps/tree/main/packages/react/web-map-cesium#readme", "repository": { @@ -33,7 +33,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@xtramaps/web-map-cesium": "1.0.0" + "@xtramaps/web-map-cesium": "1.1.0" }, "peerDependencies": { "react": "^18.0.0 || ^19.0.0", diff --git a/packages/react/web-map-maplibre/CHANGELOG.md b/packages/react/web-map-maplibre/CHANGELOG.md new file mode 100644 index 0000000..2da6741 --- /dev/null +++ b/packages/react/web-map-maplibre/CHANGELOG.md @@ -0,0 +1,12 @@ +# @xtramaps/web-map-maplibre-react + +## 1.1.0 + +### Minor Changes + +- d80e22d: Add `@xtramaps/web-map-maplibre` (core) and `@xtramaps/web-map-maplibre-react`: the MapLibre map component extracted from `ogcapi-html`, rebuilt on `@vis.gl/react-maplibre` and current `maplibre-gl` (`^6`) instead of the unmaintained `react-maplibre-ui`. Includes style/data-layer helpers, hover/click popups, and a `CanvasOverlay` (formerly `CanvasPlugin`) for rendering arbitrary React children into the map canvas. + +### Patch Changes + +- Updated dependencies [d80e22d] + - @xtramaps/web-map-maplibre@1.1.0 diff --git a/packages/react/web-map-maplibre/package.json b/packages/react/web-map-maplibre/package.json index c581d7f..a9d2d9c 100644 --- a/packages/react/web-map-maplibre/package.json +++ b/packages/react/web-map-maplibre/package.json @@ -1,6 +1,6 @@ { "name": "@xtramaps/web-map-maplibre-react", - "version": "1.0.0", + "version": "1.1.0", "license": "MIT", "homepage": "https://github.com/ldproxy/xtramaps/tree/main/packages/react/web-map-maplibre#readme", "repository": { @@ -33,7 +33,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@xtramaps/web-map-maplibre": "1.0.0", + "@xtramaps/web-map-maplibre": "1.1.0", "@mapbox/mapbox-gl-draw": "^1.5.0", "@turf/combine": "^7.2.0" }, diff --git a/packages/react/web-map-openlayers/CHANGELOG.md b/packages/react/web-map-openlayers/CHANGELOG.md new file mode 100644 index 0000000..564aad3 --- /dev/null +++ b/packages/react/web-map-openlayers/CHANGELOG.md @@ -0,0 +1,12 @@ +# @xtramaps/web-map-openlayers-react + +## 1.1.0 + +### Minor Changes + +- d80e22d: Add `@xtramaps/web-map-openlayers` (core) and `@xtramaps/web-map-openlayers-react`: the OpenLayers map component migrated 1:1 from `ogcapi-html`, onto current `rlayers` (`3.9.0`) and `ol` (`10.8.0`) instead of the outdated `rlayers@1.1.1`/`ol@6.9.0`. Unlike the MapLibre extraction, this is a pure migration with no new LayerControl/legend equivalent — the original component never had one. The `globalThis._map.setCurrentTileMatrixSet` global bridge is replaced with a `forwardRef`/`useImperativeHandle`-based ref API. + +### Patch Changes + +- Updated dependencies [d80e22d] + - @xtramaps/web-map-openlayers@1.1.0 diff --git a/packages/react/web-map-openlayers/package.json b/packages/react/web-map-openlayers/package.json index b5a613b..c480252 100644 --- a/packages/react/web-map-openlayers/package.json +++ b/packages/react/web-map-openlayers/package.json @@ -1,6 +1,6 @@ { "name": "@xtramaps/web-map-openlayers-react", - "version": "1.0.0", + "version": "1.1.0", "license": "MIT", "homepage": "https://github.com/ldproxy/xtramaps/tree/main/packages/react/web-map-openlayers#readme", "repository": { @@ -33,7 +33,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@xtramaps/web-map-openlayers": "1.0.0" + "@xtramaps/web-map-openlayers": "1.1.0" }, "peerDependencies": { "react": "^18.0.0 || ^19.0.0",