The 6.7 release includes a great batch of usability improvements, fixes, and new features. See the full list of changes from 100 pull requests below, but here are some highlights:
- New GeoTIFF source! With parsing support from the awesome geotiff.js library, you can now render layers from hosted GeoTIFF imagery. The GeoTIFF source gives you the ability to pull from multiple GeoTIFF images, read from arbitrary bands, run band math expressions, and style the imagery to your liking.
- New WebGL tile renderer. The GeoTIFF source is rendered with a new WebGL-based tile renderer. In addition to GeoTIFFs, the renderer supports layers with a generic DataTile source – these can be used to render aribtrary raster data and leverage the same style expressions as described above.
- More type checking. We continue to make improvements to the TypeScript definitions included in the
ol
package. - New sources supporting the draft OGC API - Tiles specification. The OGCMapTile and OGCVectorTile sources allow you to render data from services that implement the draft OGC tiles spec. Since the specification is not yet final, these sources are not yet part of the stable OpenLayers API and should be considered experimental.
- Custom cluster creation support, improved KML icon rendering, lots of fixes, and more. See below for all the detail.
List of all changes
- #12727 - Add missing 'boxstart' event to OnSignature (@simonseyock)
- #12718 - Rename function to avoid minification failure (@tschaub)
- #12712 - Add convertToRGB option to GeoTIFF source (@ahocevar)
- #12716 - Spelling fix (@fredj)
- #12715 - Try harder to get the projection from GeoTIFF headers (@tschaub)
- #12714 - Avoid creating duplicate projections in COG examples (@tschaub)
- #12713 - Check for GeoTIFF CRS starting with last image (@tschaub)
- #12709 - Support rendering of GeoTIFF images in pixel coordinates (@tschaub)
- #12711 - Use band numbers starting with one (@tschaub)
- #12710 - Spelling fix in GeoTIFF docs (@tschaub)
- #12697 - Move description above type tag (@tschaub)
- #12695 - Update Google KML icon anchors and correct icon scaling (@mike-000)
- #12642 - Fix fullscreen in mapbox-style example (@ahocevar)
- #12624 - Improve API docs for optional properties (@ahocevar)
- #10963 - OGC map and vector tile sources (@tschaub)
- #12690 - Fix return stride of forEachSegment (@ahocevar)
- #12684 - Fix view resolutions in example (@mike-000)
- #12683 - Fix sprite offset for pixel ratio !== 1 (@ahocevar)
- #12671 - Configure cache on the layer instead of the source (@tschaub)
- #12669 - Add opaque and transition options to GeoTIFF source (@ahocevar)
- #12667 - Additional docs and type checking for raster source (@tschaub)
- #12666 - Re-add accidently removed events (@ahocevar)
- #12647 - Remove Translate option conflicts and update documentation (@mike-000)
- #12008 - Rendering raster tiles with WebGL (@tschaub)
- #12632 - Only warn of zero size when map should be visible (@mike-000)
- #12626 - Set canvas style to override problem 3rd party css (@mike-000)
- #12608 - Support more OGC CRS identifiers (@tschaub)
- #12607 - Don't add color as possible type if it was not set (@MoonE)
- #12605 - Some typing improvements (@simonseyock)
- #12600 - Make attribution getters public. (@simonseyock)
- #12597 - #12596 fix RasterSource does not end Tile transition (@mwerlitz)
- #12599 - Replace reference image to match that of the CI (@ahocevar)
- #12595 - Generate correct type definitions with null (@ahocevar)
- #12578 - Update rendering test reference image (@ahocevar)
- #12577 - Use shx for the build-site script, clean before run (@MoonE)
- #12575 - Add on(), un() and once() signatures for ol/source/Raster (@ahocevar)
- #12565 - Handle named colors as string in equal operator (@sebakerckhof)
- #12576 - Fix example and legacy build with nodejs 16.6 (@MoonE)
- #12551 - Add WKB to the exports of ol/format (@M393)
- #12550 - Add
grid
tag to examples. (@simonseyock) - #12549 - Add
change:layers
event. (@simonseyock) - #12545 - Restore simple axis order handling with fixed proj4 (@ahocevar)
- #12544 - Make Raster source work as generics type for Image layer (@ahocevar)
- #12527 - Treat custom loaders without success/fail handling as if they were a void loader (@mike-000)
- #12538 - Avoid creating context until needed (@tschaub)
- #12528 - Convert the hit tolerance priority example into a test (@MoonE)
- #12522 - Shorter name for the option to create a custom cluster (@tschaub)
- #12506 - Fix adding controls with map config (@M393)
- #12487 - Custom cluster feature creation function (@Razi91)
- #12520 - Fix typo in changelog (@ahocevar)
- #12519 - Release v6.6.1 (@openlayers)
Dependency Updates
- #12703 - Bump terser-webpack-plugin from 5.1.4 to 5.2.3 (@openlayers)
- #12704 - Bump @babel/eslint-parser from 7.15.0 to 7.15.4 (@openlayers)
- #12705 - Bump webpack from 5.51.1 to 5.52.0 (@openlayers)
- #12706 - Bump webpack-dev-server from 4.0.0 to 4.1.0 (@openlayers)
- #12707 - Bump @babel/core from 7.15.0 to 7.15.5 (@openlayers)
- #12702 - Bump @babel/preset-env from 7.15.0 to 7.15.4 (@openlayers)
- #12677 - Bump marked from 3.0.0 to 3.0.2 (@openlayers)
- #12678 - Bump globby from 12.0.1 to 12.0.2 (@openlayers)
- #12679 - Bump mocha from 9.1.0 to 9.1.1 (@openlayers)
- #12657 - Bump mocha from 9.0.3 to 9.1.0 (@openlayers)
- #12650 - Bump webpack from 5.50.0 to 5.51.1 (@openlayers)
- #12654 - Bump webpack-dev-server from 4.0.0-rc.0 to 4.0.0 (@openlayers)
- #12653 - Bump globby from 12.0.0 to 12.0.1 (@openlayers)
- #12652 - Bump loglevelnext from 5.0.5 to 5.0.6 (@openlayers)
- #12651 - Bump rollup from 2.56.2 to 2.56.3 (@openlayers)
- #12627 - Bump webpack-cli from 4.7.2 to 4.8.0 (@openlayers)
- #12631 - Bump marked from 2.1.3 to 3.0.0 (@openlayers)
- #12630 - Bump webpack from 5.49.0 to 5.50.0 (@openlayers)
- #12629 - Bump yargs from 17.1.0 to 17.1.1 (@openlayers)
- #12628 - Bump rollup from 2.56.1 to 2.56.2 (@openlayers)
- #12616 - Bump webpack from 5.47.1 to 5.49.0 (@openlayers)
- #12617 - Bump @babel/eslint-parser from 7.14.9 to 7.15.0 (@openlayers)
- #12615 - Bump rollup from 2.56.0 to 2.56.1 (@openlayers)
- #12614 - Bump puppeteer from 10.1.0 to 10.2.0 (@openlayers)
- #12613 - Bump yargs from 17.0.1 to 17.1.0 (@openlayers)
- #12612 - Bump @babel/core from 7.14.8 to 7.15.0 (@openlayers)
- #12611 - Bump @babel/preset-env from 7.14.9 to 7.15.0 (@openlayers)
- #12610 - Bump clean-css-cli from 5.3.2 to 5.3.3 (@openlayers)
- #12602 - Bump rollup from 2.54.0 to 2.56.0 (@openlayers)
- #12583 - Bump webpack-sources from 2.3.1 to 3.2.0 (@openlayers)
- #12581 - Bump @rollup/plugin-commonjs from 19.0.1 to 20.0.0 (@openlayers)
- #12582 - Bump @babel/preset-env from 7.14.8 to 7.14.9 (@openlayers)
- #12585 - Bump clean-css-cli from 5.3.0 to 5.3.2 (@openlayers)
- #12584 - Bump webpack from 5.46.0 to 5.47.1 (@openlayers)
- #12586 - Bump @babel/eslint-parser from 7.14.7 to 7.14.9 (@openlayers)
- #12588 - Bump sinon from 11.1.1 to 11.1.2 (@openlayers)
- #12589 - Bump eslint from 7.31.0 to 7.32.0 (@openlayers)
- #12559 - Bump rollup from 2.53.2 to 2.54.0 (@openlayers)
- #12560 - Bump @babel/core from 7.14.6 to 7.14.8 (@openlayers)
- #12558 - Bump webpack-dev-server from 4.0.0-beta.3 to 4.0.0-rc.0 (@openlayers)
- #12556 - Bump globby from 11.0.4 to 12.0.0 (@openlayers)
- #12555 - Bump webpack from 5.45.1 to 5.46.0 (@openlayers)
- #12554 - Bump mocha from 9.0.2 to 9.0.3 (@openlayers)
- #12553 - Bump @babel/preset-env from 7.14.7 to 7.14.8 (@openlayers)
- #12552 - Bump @rollup/plugin-node-resolve from 13.0.2 to 13.0.4 (@openlayers)
- #12536 - Bump rollup from 2.53.1 to 2.53.2 (@openlayers)
- #12537 - Bump @rollup/plugin-node-resolve from 13.0.0 to 13.0.2 (@openlayers)
- #12535 - Bump webpack from 5.44.0 to 5.45.1 (@openlayers)
- #12534 - Bump eslint from 7.30.0 to 7.31.0 (@openlayers)
- #12533 - Bump @rollup/plugin-commonjs from 19.0.0 to 19.0.1 (@openlayers)