Skip to content

Bump ol from 5.3.3 to 6.13.0#514

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/ol-6.13.0
Closed

Bump ol from 5.3.3 to 6.13.0#514
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/ol-6.13.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 1, 2022

Bumps ol from 5.3.3 to 6.13.0.

Release notes

Sourced from ol's releases.

v6.13.0

Overview

The 6.13 release brings several exciting new features and improvements:

  • A new layer.getData() method to get pixel data for a single layer (see details below).
  • Support for rich text labels in ol/style/Text, to use different font styles and fonts in a single label.
  • The useGeograpic() and setUserProjection() functions in the ol/proj module are now part of the official API. These functions make it easier to work with geographic coordinates or local projections.
  • Improvements for WebGL Tile and Points layers.
  • Performance improvements on ol/Feature, to avoid event creation when there are no listeners.
  • Update of geotiff.js to v2, to fix some build issues that users reported.
  • Improvements to the auto-generated TypeScript types.

Details

New layer.getData() method

Raster 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 a Float32Array with one value per band, while a PNG rendered from a tile layer will return a Uint8ClampedArray of RGBA values.

If you were previously using the map.forEachLayerAtPixel() method, you should use the new layer.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() method

The map.forEachLayerAtPixel() method has been deprecated. It will be removed (or its behavior may change) in the next major release. Please use the layer.getData() method instead.

List of all changes

See below for a complete list of features and fixes.

... (truncated)

Commits
  • 7bf014f Updates for the 6.13.0 release
  • b15318b Merge pull request #13418 from ahocevar/ol-mapbox-style-rich-text
  • 49b5ad6 Update ol-mapbox-style for rich text labels support
  • 8672e7e Merge pull request #13417 from ahocevar/geotiff-resolution-tolerance
  • a1aff21 Merge pull request #13415 from mike-000/graticule
  • 7b880b2 Increase GeoTIFF resolutions tolerance
  • 69f8a82 Check for resolution change and fix unrotated size
  • 28c1874 Merge pull request #13410 from ahocevar/rich-text-labels
  • 18f06b8 Rich text labels
  • 96a90fb Merge pull request #13402 from openlayers/dependabot/npm_and_yarn/express-4.17.3
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ol](https://github.com/openlayers/openlayers) from 5.3.3 to 6.13.0.
- [Release notes](https://github.com/openlayers/openlayers/releases)
- [Commits](openlayers/openlayers@v5.3.3...v6.13.0)

---
updated-dependencies:
- dependency-name: ol
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies javascript Pull requests that update Javascript code labels Mar 1, 2022
@dependabot dependabot bot mentioned this pull request Mar 1, 2022
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Apr 1, 2022

Superseded by #522.

@dependabot dependabot bot closed this Apr 1, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/ol-6.13.0 branch April 1, 2022 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants