changelog/v6.5.0.md
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 WebGLLayerRendererclassName constructor option in ol/layer/Heatmapol/source/VectoriconUrlFunction option for ol/format/KMLtransition option to OSM and CartoDB sourcesDragAndDrop interaction support for formats that read ArrayBuffer sourcespadding option for ol/Viewcancel event for the DragBox interactionhitTolerance, detect closest features firstCircle geometries with a custom renderer