OpenLayers
The 6.8 release builds on the momentum of 6.7 with some great new enhancements. Data tiles now handle 32-bit data in addition to 8-bit. Views properties can now be provided that sources that fetch view-related data. Vector tile rendering got some performance enhancements. Find detail on these features and a number of fixes in the list of changes below.
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:
ol
package.grid
tag to examples. (@simonseyock)change:layers
event. (@simonseyock)This is a bugfix release which brings improvements to the included TypeScript types, and fixes two minor issues with the Draw interaction and hit detection of regular shape symbols.
With more than 110 pull requests, this release not only brings WFS 2.0 support and improved touch support for drawing geometries and querying features. In addition to that, several improvements, many bugs fixes, and nicer API docs and examples have found their way into the 6.5.0 release.
hitTolerance
option fixedPreviously, the hitTolerance
option of the map's getFeaturesAtPixel()
, forEachFeatureAtPixel()
and hasFeatureAtPixel()
methods behaved differently depending on the devicePixelRatio
(or the pixelRatio
of the map), because the original value was internally multiplied by the device pixel ratio twice instead of just once. Now this is fixed. Note: The hitTolerance
's units are css pixels. The documentation was updated to reflect this.
If your application adjusts for that with code like
{ hitTolerance: 10 / devicePixelRatio, }
you'll have to change that code to
{ hitTolerance: 10, }
RegularShape
and Circle
style constructorspreRender
and postRender
methods to WebGLLayerRenderer
className
constructor option in ol/layer/Heatmap
ol/source/Vector
iconUrlFunction
option for ol/format/KML
transition
option to OSM
and CartoDB
sourcesDragAndDrop
interaction support for formats that read ArrayBuffer sourcespadding
option for ol/View
cancel
event for the DragBox
interactionhitTolerance
, detect closest features firstCircle
geometries with a custom rendererThis is a bugfix release which fixes a performance regression, a rendering issue, and adds improvements to a few examples.
See the v6.4.0 release notes for a complete list of changes and upgrade notes when upgrading from v6.3.x.
This is a bugfix release which removes a few regressions that were introduced by v6.4.0, and fixes a few issues in examples.
See the v6.4.0 release notes for a complete list of changes and upgrade notes when upgrading from v6.3.x.
This is a bugfix release which removes a few regressions that were introduced by v6.4.0, and fixes a few issues in examples caused by the website facelift.
With more than 120 pull requests, this release brings a facelift of the website, as well as many bug fixes and several exciting new features.
Now that all major browsers support Pointer events natively, we removed the elm-pep dependency. If you are targeting older browsers that do not support Pointer events, you now need to include a pointer events polyfill (elm-pep or pepjs) in your application.
ol.css
is not included in the build.