Merge pull request #6901 from KlausBenndorf/regularShapePointsNotes

Added release note for changed methods of ol.style.regularShape
This commit is contained in:
Andreas Hocevar
2017-06-10 09:16:12 +02:00
committed by GitHub

View File

@@ -2,6 +2,14 @@
### Next release
#### Return values of two `ol.style.RegularShape` getters have changed
To provide a more consistent behaviour the following getters now return the same value that was given to constructor:
`ol.style.RegularShape#getPoints` does not return the double amount of points anymore if a radius2 is set.
`ol.style.RegularShape#getRadius2` will return `undefined` if no radius2 is set.
### v4.1.0
#### Adding duplicate layers to a map throws