MyGit

v9.0.0

openlayers/openlayers

版本发布时间: 2024-02-26 04:49:21

openlayers/openlayers最新发布版本:v9.1.0(2024-03-22 22:41:49)

The 9.0 release add several new features, including a Google Maps source (finally!), improved WebGL line rendering, and a new symbol and text decluttering implementation. We also improved and broadened flat styles support for both WebGL and Canvas 2D renderers. For better developer experience, we made more types generic and fixed some issues with types.

Backwards incompatible changes

Improved render order of decluttered items

Decluttered items in Vector and VectorTile layers now maintain the render order of the layers and within a layer. They do not get lifted to a higher place in the stack any more.

For most use cases, this is the desired behavior. If, however, you've been relying on the previous behavior, you now have to create separate layers above the layer stack, with just the styles for the declutter items.

Removal of Map#flushDeclutterItems()

It is no longer necessary to call this function to put layers above decluttered symbols and text, because decluttering no longer lifts elements above the layer stack.

To upgrade, simply remove the code where you use the flushDeclutterItems() method.

Changes in ol/style

GeometryCollection constructor

ol/geom/GeometryCollection can no longer be created without providing a Geometry array. Empty arrays are still valid.

ol/interaction/Draw

What's Changed

New Contributors

Full Changelog: https://github.com/openlayers/openlayers/compare/v8.2.0...v9.0.0

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

1、 v9.0.0-package.zip 2.61MB

2、 v9.0.0-site.zip 14.87MB

查看:2024-02-26发行的版本