From e7d6bc055a34431f4edd3ad0ef8e0178fe9db020 Mon Sep 17 00:00:00 2001 From: ahocevar Date: Sat, 7 Jul 2018 18:09:51 +0200 Subject: [PATCH] Describe change in upgrade notes --- changelog/upgrade-notes.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/changelog/upgrade-notes.md b/changelog/upgrade-notes.md index 658a700308..a403e67c08 100644 --- a/changelog/upgrade-notes.md +++ b/changelog/upgrade-notes.md @@ -1,5 +1,11 @@ ## Upgrade notes +### Next release + +#### Geometry constructor and `setCoordinates` no longer accept `null` coordinates + +Geometries (`ol/geom/*`) now need to be constructed with valid coordinates (center for `ol/geom/Circle`) as first constructor argument. The same applies to the `setCoordinates()` (`setCenter() for `ol/geom/Circle`) method. + ### v5.0.0 #### Renamed `ol/source/TileUTFGrid` to `ol/source/UTFGrid` @@ -170,7 +176,7 @@ The optional this (i.e. opt_this) arguments were removed from the following meth #### `Map#forEachLayerAtPixel` parameters have changed - + If you are using the layer filter, please note that you now have to pass in the layer filter via an `AtPixelOptions` object. If you are not using the layer filter the usage has not changed. Old syntax: