Bump OpenLayers (#998)

Closes #996

## Launch Checklist

<!-- Thanks for the PR! Feel free to add or remove items from the
checklist. -->


 - [ ] Briefly describe the changes in this PR.
 - [ ] Link to related issues.
- [ ] Include before/after visuals or gifs if this PR includes visual
changes.
 - [ ] Write tests for all new functionality.
 - [ ] Add an entry to `CHANGELOG.md` under the `## main` section.
This commit is contained in:
Birk Skyum
2025-01-21 14:24:15 +01:00
committed by GitHub
parent 891bcf1777
commit 3e6994084c
4 changed files with 130 additions and 84 deletions

View File

@@ -85,10 +85,11 @@ class MapOpenLayersInternal extends React.Component<MapOpenLayersInternalProps,
componentDidMount() {
this.overlay = new Overlay({
element: this.popupContainer!,
autoPan: true,
autoPanAnimation: {
duration: 250
}
autoPan: {
animation: {
duration: 250
}
},
});
const map = new Map({