Download Latest Version v10.7.0 source code.tar.gz (25.7 MB)
Email in envelope

Get an email when there's a new version of OpenLayers

Home / v10.5.0
Name Modified Size InfoDownloads / Week
Parent folder
v10.5.0-package.zip 2025-03-31 2.9 MB
v10.5.0-site.zip 2025-03-31 18.6 MB
README.md 2025-03-31 14.6 kB
v10.5.0 source code.tar.gz 2025-03-31 25.0 MB
v10.5.0 source code.zip 2025-03-31 25.9 MB
Totals: 5 Items   72.4 MB 0

The 10.5.0 release contains many fixes, typing improvements, but also several new features: * The Snap interaction now allows snapping to segment intersections; it also offers a new unsnap event * Added support for LineStrings and expressions in the Heatmap layer * Added getLength method to the MultiLineString geometry class * Added a source.setParams() API alongside the existing source.updateParams for various sources to make clearing query parameters easier * WFS feature properties (and other XML text elements) will now be encoded as CDATA when they contain special XML characters, white spaces etc. * Added support for has expression operator in WebGL layers * Added a performance improvement when selecting features * Removed a long-standing Firefox-specific workaround when zooming in/out with the mouse wheel * Removed the runtime dependencies to the color-space and color-rgba packages, instead replaced by local code * Vector layer backgrounds are now rendered even when the source is empty

List of all changes

See below for a complete list of features and fixes.

Dependency Updates * Bump serve-static from 1.16.2 to 2.2.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16766) * Bump sinon from 19.0.4 to 20.0.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16770) * Bump @typescript-eslint/parser from 8.27.0 to 8.28.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16768) * Bump rollup from 4.37.0 to 4.38.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16769) * Bump webpack-dev-server from 5.2.0 to 5.2.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/16767) * Bump jspdf from 3.0.0 to 3.0.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/16748) * Bump eslint from 9.22.0 to 9.23.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16751) * Bump sinon from 19.0.2 to 19.0.4 (by @openlayers in https://github.com/openlayers/openlayers/pull/16750) * Bump rollup from 4.36.0 to 4.37.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16752) * Bump @typescript-eslint/parser from 8.26.1 to 8.27.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16749) * Bump @metalsmith/layouts from 2.7.0 to 3.0.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16731) * Bump rollup from 4.35.0 to 4.36.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16730) * Bump canvg from 3.0.10 to 3.0.11 (by @openlayers in https://github.com/openlayers/openlayers/pull/16735) * Bump @rollup/plugin-node-resolve from 16.0.0 to 16.0.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/16732) * Bump shx from 0.3.4 to 0.4.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16729) * Bump @typescript-eslint/parser from 8.26.0 to 8.26.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/16728) * Bump rollup from 4.34.9 to 4.35.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16713) * Bump @rollup/plugin-commonjs from 28.0.2 to 28.0.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/16711) * Bump eslint from 9.21.0 to 9.22.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16712) * Bump ol-stac from 1.0.0-rc.9 to 1.0.0-rc.10 (by @openlayers in https://github.com/openlayers/openlayers/pull/16714) * Bump puppeteer from 24.3.0 to 24.4.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16715) * Bump typescript from 5.7.3 to 5.8.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/16687) * Bump dawidd6/action-download-artifact from 8 to 9 (by @openlayers in https://github.com/openlayers/openlayers/pull/16684) * Bump rollup from 4.34.8 to 4.34.9 (by @openlayers in https://github.com/openlayers/openlayers/pull/16686) * Bump ol-mapbox-style from 12.4.1 to 12.5.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16685) * Bump @typescript-eslint/parser from 8.24.1 to 8.25.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16688) * Bump copy-webpack-plugin from 12.0.2 to 13.0.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16689) * Bump puppeteer from 24.2.1 to 24.3.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16690) * Bump @types/sinon from 17.0.3 to 17.0.4 (by @openlayers in https://github.com/openlayers/openlayers/pull/16668) * Bump @typescript-eslint/parser from 8.24.0 to 8.24.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/16669) * Bump pixelmatch from 6.0.0 to 7.1.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16670) * Bump jspdf from 2.5.2 to 3.0.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16671) * Bump pmtiles from 4.2.1 to 4.3.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16672) * Bump eslint from 9.20.1 to 9.21.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16673) * Bump eslint from 9.20.0 to 9.20.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/16657) * Bump @octokit/rest from 21.1.0 to 21.1.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/16656) * Bump puppeteer from 24.2.0 to 24.2.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/16658) * Bump rollup from 4.34.6 to 4.34.8 (by @openlayers in https://github.com/openlayers/openlayers/pull/16659) * Bump @typescript-eslint/parser from 8.23.0 to 8.24.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16660) * Bump @codemirror/lang-javascript from 6.2.2 to 6.2.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/16655) * Bump ol-stac from 1.0.0-rc.8 to 1.0.0-rc.9 (by @openlayers in https://github.com/openlayers/openlayers/pull/16661) * Bump webpack from 5.97.1 to 5.98.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16654) * Bump puppeteer from 24.1.1 to 24.2.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16632) * Bump ol-mapbox-style from 12.4.0 to 12.4.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/16639) * Bump rollup from 4.34.1 to 4.34.6 (by @openlayers in https://github.com/openlayers/openlayers/pull/16638) * Bump ol-stac from 1.0.0-rc.7 to 1.0.0-rc.8 (by @openlayers in https://github.com/openlayers/openlayers/pull/16637) * Bump @typescript-eslint/parser from 8.22.0 to 8.23.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16636) * Bump marked from 15.0.6 to 15.0.7 (by @openlayers in https://github.com/openlayers/openlayers/pull/16635) * Bump @types/d3-scale from 4.0.8 to 4.0.9 (by @openlayers in https://github.com/openlayers/openlayers/pull/16634) * Bump eslint from 9.19.0 to 9.20.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16633) * Bump semver from 7.7.0 to 7.7.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/16631) * Bump globby from 14.0.2 to 14.1.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16630) * Bump ol-stac from 1.0.0-rc.5 to 1.0.0-rc.7 (by @openlayers in https://github.com/openlayers/openlayers/pull/16614) * Bump semver from 7.6.3 to 7.7.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16613) * Bump rollup from 4.32.0 to 4.34.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/16612) * Bump @typescript-eslint/parser from 8.21.0 to 8.22.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16611)

New Contributors

Full Changelog: https://github.com/openlayers/openlayers/compare/v10.4.0...v10.5.0

Source: README.md, updated 2025-03-31