Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .changeset/add-layer-control-maplibre.md

This file was deleted.

14 changes: 0 additions & 14 deletions .changeset/add-web-map-cesium.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/add-web-map-maplibre.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/add-web-map-openlayers.md

This file was deleted.

7 changes: 7 additions & 0 deletions packages/core/layer-control-maplibre/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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).
2 changes: 1 addition & 1 deletion packages/core/layer-control-maplibre/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
15 changes: 15 additions & 0 deletions packages/core/web-map-cesium/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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).
2 changes: 1 addition & 1 deletion packages/core/web-map-cesium/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
7 changes: 7 additions & 0 deletions packages/core/web-map-maplibre/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion packages/core/web-map-maplibre/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
7 changes: 7 additions & 0 deletions packages/core/web-map-openlayers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion packages/core/web-map-openlayers/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
12 changes: 12 additions & 0 deletions packages/react/layer-control-maplibre/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
6 changes: 3 additions & 3 deletions packages/react/layer-control-maplibre/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -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"
},
Expand All @@ -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",
Expand Down
20 changes: 20 additions & 0 deletions packages/react/web-map-cesium/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions packages/react/web-map-cesium/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -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",
Expand Down
12 changes: 12 additions & 0 deletions packages/react/web-map-maplibre/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions packages/react/web-map-maplibre/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -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"
},
Expand Down
12 changes: 12 additions & 0 deletions packages/react/web-map-openlayers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions packages/react/web-map-openlayers/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -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",
Expand Down
Loading