Update dependency ol to v6.15.1 #251
Open
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:
6.5.0→6.15.1Release Notes
openlayers/openlayers (ol)
v6.15.1Compare Source
The 6.15.1 release is a patch to ensure that a layer gets rendered when its source has completed loading. See the changelog for 6.15.0 for new features and fixes since 6.14.
List of all changes:
Full Changelog: openlayers/openlayers@v6.15.0...v6.15.1
v6.15.0Compare Source
Overview
The 6.15 release brings several fixes and improvements:
nullchecks and union typessetFillandsetStrokemethods forRegularShapesymbolsjustifyoption for text stylesLinkinteration for adding center, zoom, rotation and active layers to the URLminWidth, the scale line can now also be configured with amaxWidthDetails
Deprecated
tilePixelRatiooption for data tile sources.If you were previously trying to scale data tiles using the
tilePixelRatioproperty for data tile sources (this is rare), you should now use the explicittileSizeandtileGridproperties. The source'stileSizerepresents the source tile dimensions and the tile grid'stileSizerepresents the desired rendered dimensions.Fixed coordinate dimension handling in
ol/proj'saddCoordinateTransformsThe
forwardandinversefunctions passed toaddCooordinateTransformsnow receive a coordinate with all dimensions of the original coordinate, not just two. If you previosly had coordinates with more than two dimensions and added a transform likeyou have to change that to
Replacement of string enums with union types
This change only affects users that were using the non-API string enums
Instead of these, use the respective
strings, which are now typesafe by means of union types.List of all changes
See below for a complete list of features and fixes.
justifyoption for text style (by @rycgar in #13571)Dependency Updates
New Contributors
Full Changelog: openlayers/openlayers@v6.14.1...v6.15.0
v6.14.1: 6.14.1Compare Source
The 6.14.1 release is a patch to correct a version discrepancy in the
package-lock.jsonfile. See the changelog for 6.14.0 for new features and fixes since 6.13.v6.14.0: 6.14.0Compare Source
The 6.14 release includes a few new features and fixes. The new
loadstartandloadendevents make it easy to add loading indicators to your maps. Enhancements to the snap interaction add support for snapping to points coincident with lines and improve performance. A change to WebGL rendering works around an issue in Safari 15.4. Find detail on these improvements and more in the full list of changes below.List of all changes
See below for a complete list of features and fixes.
OES_texture_float_linearis not supported (by @mike-000 in #13505)Dependency Updates
New Contributors
Full Changelog: openlayers/openlayers@v6.13.0...v6.14.0
v6.13.0Compare Source
Overview
The 6.13 release brings several exciting new features and improvements:
layer.getData()method to get pixel data for a single layer (see details below).ol/style/Text, to use different font styles and fonts in a single label.useGeograpic()andsetUserProjection()functions in theol/projmodule are now part of the official API. These functions make it easier to work with geographic coordinates or local projections.ol/Feature, to avoid event creation when there are no listeners.Details
New
layer.getData()methodRaster layers (static images, image tiles, data tiles) have a new
layer.getData(pixel)method that returns the pixel data at the provided location. The return value depends on the underlying source data type. For example, a GeoTIFF may return aFloat32Arraywith one value per band, while a PNG rendered from a tile layer will return aUint8ClampedArrayof RGBA values.If you were previously using the
map.forEachLayerAtPixel()method, you should use the newlayer.getData()method instead. The old method returns composite pixel values from multiple layers and is limited to RGBA values. The new method doesn't suffer from these shortcomings and is more performant.Deprecated
map.forEachLayerAtPixel()methodThe
map.forEachLayerAtPixel()method has been deprecated. It will be removed (or its behavior may change) in the next major release. Please use thelayer.getData()method instead.List of all changes
See below for a complete list of features and fixes.
"skipLibCheck": false(by @seravifer in #13382)ol/source/Cluster#setSourcetype annotation (by @MoonE in #12998)@typeannotation by jsdoc (by @MoonE in #13350)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 this update again.
This PR was generated by Mend Renovate. View the repository job log.