Add enableRotation option to ol.View2D

This commit is contained in:
Tom Payne
2014-01-27 14:52:42 +01:00
parent 0a5ab24a0c
commit 07a717d967
2 changed files with 9 additions and 2 deletions

View File

@@ -91,6 +91,8 @@
* The coordinate system for the center is specified with the `projection`
* option. Default is `undefined`, and layer sources will not be fetched if
* this is not set.
* @property {boolean|undefined} enableRotation Enable rotation. Default is
* `true`.
* @property {ol.Extent|undefined} extent The extent that constrains the center,
* in other words, center cannot be set outside this extent.
* Default is `undefined`.