chore(deps): update dependency ol to v9 #1169
Closed
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:
7 || 8
->7 || 8 || 9
8.2.0
->9.0.0
Release Notes
openlayers/openlayers (ol)
v9.0.0
Compare Source
The 9.0 release add several new features, including a Google Maps source (finally!), improved WebGL line rendering, and a new symbol and text decluttering implementation. We also improved and broadened flat styles support for both WebGL and Canvas 2D renderers. For better developer experience, we made more types generic and fixed some issues with types.
Backwards incompatible changes
Improved render order of decluttered items
Decluttered items in Vector and VectorTile layers now maintain the render order of the layers and within a layer. They do not get lifted to a higher place in the stack any more.
For most use cases, this is the desired behavior. If, however, you've been relying on the previous behavior, you now have to create separate layers above the layer stack, with just the styles for the declutter items.
Removal of
Map#flushDeclutterItems()
It is no longer necessary to call this function to put layers above decluttered symbols and text, because decluttering no longer lifts elements above the layer stack.
To upgrade, simply remove the code where you use the
flushDeclutterItems()
method.Changes in
ol/style
ol/style/RegularShape
'sradius1
property. Useradius
for regular polygons orradius
andradius2
for stars.shape-radius1
property fromol/style/flat~FlatShape
. Useshape-radius
instead.GeometryCollection
constructorol/geom/GeometryCollection
can no longer be created without providing a Geometry array. Empty arrays are still valid.ol/interaction/Draw
finishDrawing()
method now returns the drawn feature ornull
if no drawing could be finished. Previously it returnedundefined
.What's Changed
updateParams
in ImageMapGuide and ImageArcGISRest by @mike-000 in https://github.com/openlayers/openlayers/pull/15410geometry-type
operator in CPU by @jahow in https://github.com/openlayers/openlayers/pull/15414orderedAxes
before defaulting to projection axis orientation by @mike-000 in https://github.com/openlayers/openlayers/pull/15524wmtsCap['Contents']['Layer']
could be undefined by @nboisteault in https://github.com/openlayers/openlayers/pull/15525New Contributors
Full Changelog: openlayers/openlayers@v8.2.0...v9.0.0
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.