10.9.0
In the 10.9 release, GeoZarr and GeoTIFF support saw major improvements — including multi-group band support, per-band metadata, and more efficient tile loading. WebGL rendering precision and performance were enhanced, and several vector rendering, hit detection, and trackpad zoom interaction issues were resolved.
List of all changes
See below for a complete list of features and fixes.
- feat(GeoZarr): coalesce concurrent byte-range requests via zarrita (by @wietzesuijker in https://github.com/openlayers/openlayers/pull/17409)
- Support bands from multiple zarr groups (by @ahocevar in https://github.com/openlayers/openlayers/pull/17409)
- fix: pass squared tolerance to CanvasImmediateRenderer in toContext() (by @viktorijasolovjova in https://github.com/openlayers/openlayers/pull/17429)
- Add missing background option to ImageLayer base (by @ahocevar in https://github.com/openlayers/openlayers/pull/17439)
- Same trackpad zoom feel with and without constrainResolution (by @ahocevar in https://github.com/openlayers/openlayers/pull/17407)
- Promise based vector loader; fix failure handling (by @ahocevar in https://github.com/openlayers/openlayers/pull/17403)
- Clip vector tile layers at layer extent (by @ahocevar in https://github.com/openlayers/openlayers/pull/17428)
- Line offset cycle removal (by @viktorijasolovjova in https://github.com/openlayers/openlayers/pull/17427)
- Set viewport size before map size (by @MoonE in https://github.com/openlayers/openlayers/pull/17426)
- Fix Snap intersection with mixed GeometryCollection (by @MoonE in https://github.com/openlayers/openlayers/pull/17425)
- Fix VectorTileLayer hit detection for features beyond tile boundaries (by @voxxys in https://github.com/openlayers/openlayers/pull/17423)
- Fix artifacts when zooming far into a WebGLTile layer (by @jahow in https://github.com/openlayers/openlayers/pull/17333)
- WebGL / Improve rendering precision and get rid of artifacts when zoomed in (by @jahow in https://github.com/openlayers/openlayers/pull/17332)
- Add rendering test for line offset with detailed river geometries (by @viktorijasolovjova in https://github.com/openlayers/openlayers/pull/17414)
- Heatmap: Inline blurSlope computation to fix expression-based blur/radius (#17412) (by @JoJoeGoing in https://github.com/openlayers/openlayers/pull/17413)
- Compute resolution from spatial:bbox and spatial:shape (by @ahocevar in https://github.com/openlayers/openlayers/pull/17410)
- Inflate trackpad pinch-to-zoom deltas (by @src73 in https://github.com/openlayers/openlayers/pull/17405)
- Fix Feature clone with custom geometry name (by @MoonE in https://github.com/openlayers/openlayers/pull/17404)
- #17397 Fix text on circle features not working with declutter (by @Adanteh in https://github.com/openlayers/openlayers/pull/17400)
- Fix type imports with stricter hints from tsconfig (by @ahocevar in https://github.com/openlayers/openlayers/pull/17376)
- Remove separate group option for the GeoZarr source (by @ahocevar in https://github.com/openlayers/openlayers/pull/17378)
- Fix openflights link in flight animation example (by @ChandlerSwift in https://github.com/openlayers/openlayers/pull/17398)
- GeoTIFF: Provide min/max/nodata per band (by @m-mohr in https://github.com/openlayers/openlayers/pull/17396)
- More efficient loading of striped GeoTIFFs and reprojected WebGL tiles (by @ahocevar in https://github.com/openlayers/openlayers/pull/17394)
- Webgl / Better performance when filtering out features (by @jahow in https://github.com/openlayers/openlayers/pull/17393)
- Do not set a fill for patterns that are not loaded yet (by @ahocevar in https://github.com/openlayers/openlayers/pull/17384)
- Use correct tileUrlFunction when loading source tiles (by @ahocevar in https://github.com/openlayers/openlayers/pull/17392)
- Fix issue 17380 - Call reprioritize conditionally in handlePostRender (by @andrfra in https://github.com/openlayers/openlayers/pull/17381)
- Default stroke for hitdetection (by @qulol in https://github.com/openlayers/openlayers/pull/17365)
- Fix node deprecation warning (by @M393 in https://github.com/openlayers/openlayers/pull/17387)
- Load unknown projections for GeoTIFF source #17153 (by @m-mohr in https://github.com/openlayers/openlayers/pull/17208)
- Optimize GeoZarr tile sizes by aligning with inner shards (by @ahocevar in https://github.com/openlayers/openlayers/pull/17362)
- Parallelize band array opens in GeoZarr loadTile_ (by @wietzesuijker in https://github.com/openlayers/openlayers/pull/17370)
- Cache opened zarrita arrays across GeoZarr tile loads (by @wietzesuijker in https://github.com/openlayers/openlayers/pull/17369)
- Use provided stride for render feature geometry operations (by @ahocevar in https://github.com/openlayers/openlayers/pull/17367)
- fix(test): handle image load errors in ImageLayer CORS test (by @wietzesuijker in https://github.com/openlayers/openlayers/pull/17372)
- Store gdal metadata instead of a promise thereof (by @ahocevar in https://github.com/openlayers/openlayers/pull/17344)
- Improve GeoZarr nodata handling (by @ahocevar in https://github.com/openlayers/openlayers/pull/17355)
- Fix stroked polygon after non-stroked polygon with overlaps:false (by @ahocevar in https://github.com/openlayers/openlayers/pull/17364)
- Update geotiff to v3.0.4 (by @openlayers in https://github.com/openlayers/openlayers/pull/17363)
- Update raster source docs (by @ahocevar in https://github.com/openlayers/openlayers/pull/17342)
- Add shared vertices equal (by @andreasbaa in https://github.com/openlayers/openlayers/pull/17349)
- Add support for custom fetch client in GeoTIFF source and examples (by @BeGj in https://github.com/openlayers/openlayers/pull/17346)
- Fix typos in GeoZARR source (by @m-mohr in https://github.com/openlayers/openlayers/pull/17348)
- Flat style / allow literal number arrays as well for the
in(haystack) operator (by @jahow in https://github.com/openlayers/openlayers/pull/17334) - Example: export map as GeoTIFF or PNG with world file (by @ahocevar in https://github.com/openlayers/openlayers/pull/17313)
- Update package version to 10.8.1-dev (by @ahocevar in https://github.com/openlayers/openlayers/pull/17327)
- Updates for the 10.8.0 release (by @openlayers in https://github.com/openlayers/openlayers/pull/17325)
Dependency Updates
- chore(deps): bump dawidd6/action-download-artifact from 19 to 20 in the actions group (by @openlayers in https://github.com/openlayers/openlayers/pull/17435)
- chore(deps-dev): bump the development-minor-patch group with 16 updates (by @openlayers in https://github.com/openlayers/openlayers/pull/17436)
- chore(deps): bump zarrita from 0.6.1 to 0.6.2 in the production-minor-patch group (by @openlayers in https://github.com/openlayers/openlayers/pull/17437)
- chore(deps-dev): bump the development-major group across 1 directory with 7 updates (by @openlayers in https://github.com/openlayers/openlayers/pull/17430)
- chore(deps-dev): bump handlebars from 4.7.8 to 4.7.9 in the development-security group across 1 directory (by @openlayers in https://github.com/openlayers/openlayers/pull/17422)
- chore(deps): bump dawidd6/action-download-artifact from 14 to 19 in the actions group (by @openlayers in https://github.com/openlayers/openlayers/pull/17420)
- chore(deps-dev): bump the development-security group across 1 directory with 2 updates (by @openlayers in https://github.com/openlayers/openlayers/pull/17415)
- chore(deps-dev): bump dompurify from 3.3.1 to 3.3.2 in the development-security group across 1 directory (by @openlayers in https://github.com/openlayers/openlayers/pull/17373)
- chore(deps): bump actions/upload-artifact from 6 to 7 in the actions group across 1 directory (by @openlayers in https://github.com/openlayers/openlayers/pull/17390)
- chore(deps-dev): bump the development-minor-patch group across 1 directory with 13 updates (by @openlayers in https://github.com/openlayers/openlayers/pull/17360)
- chore(deps-dev): bump the development-security group across 1 directory with 3 updates (by @openlayers in https://github.com/openlayers/openlayers/pull/17358)
- chore(deps): bump geotiff from 3.0.2 to 3.0.3 in the production-minor-patch group (by @openlayers in https://github.com/openlayers/openlayers/pull/17339)
- chore(deps-dev): bump jspdf from 4.1.0 to 4.2.0 in the development-security group across 1 directory (by @openlayers in https://github.com/openlayers/openlayers/pull/17337)