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.
This PR contains the following updates:
^10.3.1
->^10.4.0
Release Notes
openlayers/openlayers (ol)
v10.4.0
Compare Source
With more than 40 pull requests, the 10.4 release brings performance improvements, bug fixes, better TypeScript generics and new features. New features include a convenience
Image
layer loader for debugging MapServer map files using the MapServer CGI API, and an experimentalWebGLVectorTile
layer.Upgrade notes
Deprecation of ol/layer/WebGLPoints
Use
ol/layer/WebGLVector
instead. Besides rendering points it will also render lines and polygons.In most cases this is a drop-in replacement. To use filtering the style and filter have to be in a nested object.
ol/style/webgl
module removalWebGL renderers used to rely on the
WebGLStyle
type in theol/style/webgl
module. This is not the case anymore, all renderers now rely onFlatStyle
fromol/style/flat
.ol-mapbox-style compatibility
This version of OpenLayers is only compatible with
[email protected]
or higher.Returning false from a one-time listener added with
once
Returning false from the listener function will now stop propagation, when the listener is added with
once
.Previously this only worked with the
on
method.The
filter
option forWebGLPointsLayer
has changedThe filter option for the
WebGLPointsLayer
must now be specified alongside other options instead of being part of thestyle
object. Note that theWebGLPointsLayer
is not part of the stable API and is subject to breaking changes between major releases.Get ready for future changes
We're planning to stop providing barrel files, which will impact how you import modules from OpenLayers. See #16461 for details. To get your code ready for that upcoming change, you can already help us test the
replace-barrel-imports
codemod from the @openlayers/codemod package.List of all changes
renderedProjection
in web worker's offscreen canvas layer example by @bilskip in https://github.com/openlayers/openlayers/pull/16522New Contributors
Full Changelog: openlayers/openlayers@v10.3.1...v10.4.0
Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.