fixed flag-name in upgrade notes: "constrainOnlyCenter" instead of "constrainCenterOnly"
This commit is contained in:
@@ -77,7 +77,7 @@ Generally, the responsibility of applying center/rotation/resolutions constraint
|
|||||||
|
|
||||||
##### The view `extent` option now applies to the whole viewport
|
##### The view `extent` option now applies to the whole viewport
|
||||||
|
|
||||||
Previously, this options only constrained the view *center*. This behaviour can still be obtained by specifying `constrainCenterOnly` in the view options.
|
Previously, this options only constrained the view *center*. This behaviour can still be obtained by specifying `constrainOnlyCenter` in the view options.
|
||||||
|
|
||||||
As a side effect, the view `rotate` method is gone and has been replaced with `adjustRotation` which takes a delta as input.
|
As a side effect, the view `rotate` method is gone and has been replaced with `adjustRotation` which takes a delta as input.
|
||||||
|
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ Generally, the responsibility of applying center/rotation/resolutions constraint
|
|||||||
|
|
||||||
##### The view `extent` option now applies to the whole viewport
|
##### The view `extent` option now applies to the whole viewport
|
||||||
|
|
||||||
Previously, this options only constrained the view *center*. This behaviour can still be obtained by specifying `constrainCenterOnly` in the view options.
|
Previously, this options only constrained the view *center*. This behaviour can still be obtained by specifying `constrainOnlyCenter` in the view options.
|
||||||
|
|
||||||
As a side effect, the view `rotate` method is gone and has been replaced with `adjustRotation` which takes a delta as input.
|
As a side effect, the view `rotate` method is gone and has been replaced with `adjustRotation` which takes a delta as input.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user