openlayers/openlayers
 Watch   
 Star   
 Fork   
8 hours ago
openlayers

v9.2.2

The 9.2.2 is a patch release that addresses the issues below.

List of all changes

2 days ago
openlayers

v9.2.1

The 9.2.1 release patches the 9.2.0 release with a fix for a TypeScript issue using vector layers.

List of all changes

See below for a complete list of features and fixes.

3 days ago
openlayers

v9.2.0

The 9.2 release fixes a number of rendering issues and introduces a few new features. OGC tile sources now support collections selection. Snap events are now more consistent (see below). Type annotations continue to improve, and documentation and examples got a number of updates.

The snap event's feature property is now never null

Previously, listeners for the Snap interaction's snap event received null as value for the feature property when snapped to a segment. Now, the value of the feature property is always set to the snapped feature.

To distinguish between a vertex and a segment snap, look at the snap event's segment property. It will set to null on a vertex snap, and to the snapped segment on a segment snap.

List of all changes

See below for a complete list of features and fixes.

Dependency Updates

New Contributors

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

2024-03-22 22:37:58
openlayers

v9.1.0

The 9.1 release fixes a few rendering regressions introduced in v9.0. It introduces bulk feature removal in Vector sources, addresses attribution consistency, includes new style operators, and adds the Alidade Satellite style to the Stamen source. Moreover, it ensures compliance with Google's terms of use for attribution handling of the Google source.

What's Changed

New Contributors

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

2024-02-26 04:21:57
openlayers

v9.0.0

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

  • Removed the ol/style/RegularShape's radius1 property. Use radius for regular polygons or radius and radius2 for stars.
  • Removed the shape-radius1 property from ol/style/flat~FlatShape. Use shape-radius instead.

GeometryCollection constructor

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

ol/interaction/Draw

  • The finishDrawing() method now returns the drawn feature or null if no drawing could be finished. Previously it returned undefined.

What's Changed

New Contributors

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

2023-11-15 03:19:28
openlayers

v8.2.0

The 8.2 release includes fixes for a few bugs in the 8.1 release and a couple new enhancements, including new WebGL features and support for ol/render/Feature for vector layers. Nothing special is required when upgrading from 8.1. Only TypeScript users might have to make minor changes, because some types have been made more strict.

List of all changes

See below for a complete list of features and fixes.

Dependency Updates

New Contributors

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

2023-09-07 06:57:53
openlayers

v8.1.0

The 8.1 release includes fixes for a few bugs in the 8.0 release and a couple new enhancements. Nothing special is required when upgrading from 8.0. See the upgrade notes for details on upgrading from a 7.x release.

List of all changes

See below for a complete list of features and fixes.

Dependency Updates

New Contributors

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

2023-09-01 04:29:42
openlayers

v8.0.0

The 8.0 release brings several API simplifications. Some of them are not backwards compatible, so make sure to read the upgrade notes. The new StadiaMaps source replaces the Stamen source, because Stamen no longer hosts map tiles. Several WebGL improvements are also part of this release. And finally, a new loader API for image layers makes working with non-tiled raster data more modular and faster.

List of all changes

See below for a complete list of features and fixes.

Dependency Updates

New Contributors

Full Changelog: https://github.com/openlayers/openlayers/compare/v7.5.2...v8.0.0

2023-08-31 19:48:01
openlayers

v7.5.2

7.5.2

The 7.5.2 is a patch release that includes a fix for hit detection on Vector and VectorTile layers configured with declutter: true. See the 7.5.0 release notes for a complete list of changes since the previous release.

2023-08-15 06:34:44
openlayers

v7.5.1

The 7.5.1 is a patch release that includes a couple fixes to TypeScript declarations published with the package. See the 7.5.0 release notes for a complete list of changes since the previous release.