Add web map components and layer control extracted from ldproxy/ogcapi-html - #3
Merged
Merged
Conversation
…ch auto-merge policy
azahnen
force-pushed
the
migrate-web-map-components
branch
from
September 30, 2026 07:28
2edc0e8 to
72056a3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extracts the map components from ldproxy's
ogcapi-htmlinto reusable@xtramapspackages. This is the first half of the refactoring. The ldproxy side (ldproxy/ldproxy, branchmigrate-web-map-components) consumes these packages and can only be merged once they are published.New packages
@xtramaps/web-map-maplibre/-react: MapLibre map component, rebuilt on@vis.gl/react-maplibreandmaplibre-gl6.4 (replaces the unmaintainedreact-maplibre-ui). Includes style/data-layer helpers, hover/click popups andCanvasOverlay.@xtramaps/layer-control-maplibre/-react: LayerControl with nested groups, radio groups and merge groups. Legend icons come from@xtramaps/legend-symbols-maplibre-react.@xtramaps/web-map-openlayers/-react: 1:1 migration ontorlayers3.9 /ol10.8. TheglobalThis._mapbridge is replaced by a ref API.@xtramaps/web-map-cesium/-react: migrated onto@cesium/engine26 /@cesium/widgets16, with cleanup on unmount and error handling added.Other changes
defaultStylemerge bug in the MapLibre componentnpm run testChangesets for all new packages are included.
Open points
1.0.0inpackage.jsonand the changesets areminor, so the first published version would be1.1.0.