Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to OpenLayers v7 #334

Closed
wants to merge 12 commits into from

Conversation

spwoodcock
Copy link
Contributor

Fixes #329. I upgraded from ol v6.15.7 --> 7.2.0.

There were some minor deprecations to replace:

  • Overlay no longer accepts autoPanAnimation as an option. Now the animation delay is passed as an object directly to the autoPan option.
  • map.forEachLayerAtPixel() was removed. I replaced it with a map.getLayers().forEach(). This shouldn't be much of a performance issue as getLayers was called internally by forEachLayerAtPixel anyway. Perhaps there is a way to optimise, but I couldn't find it.
  • I also updated a Vuetify deprecation that was giving a warning: v-content was simply renamed v-main.

Additional considerations:

@spwoodcock
Copy link
Contributor Author

Superseded by #335.

@spwoodcock
Copy link
Contributor Author

spwoodcock commented Jul 5, 2023

Merged master to only show specific commits - ready to test and merge.
Please add the Wegue V2 label.
I'm happy to rebase to make the history clearer - let me know.

@spwoodcock
Copy link
Contributor Author

Closed in favour of #335

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade to latest OpenLayers
2 participants