MyGit

v6.5.0

openlayers/openlayers

版本发布时间: 2020-12-28 03:20:10

openlayers/openlayers最新发布版本:v10.2.1(2024-09-27 04:27:34)

6.5.0

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.

Upgrade notes

Units of the hitTolerance option fixed

Previously, 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, }

New features and improvements

List of all changes

Dependency Updates

相关地址:原始地址 下载(tar) 下载(zip)

1、 v6.5.0-dist.zip 1.22MB

2、 v6.5.0.zip 25.03MB

查看:2020-12-28发行的版本