Add animating hint

This commit is contained in:
Tom Payne
2013-01-12 23:59:37 +01:00
parent 2ea6f0903c
commit c48bb6142e

View File

@@ -10,7 +10,8 @@ goog.require('ol.IView3D');
* @enum {number} * @enum {number}
*/ */
ol.ViewHint = { ol.ViewHint = {
PANNING: 0 ANIMATING: 0,
PANNING: 1
}; };
@@ -26,7 +27,7 @@ ol.View = function() {
* @private * @private
* @type {Array.<number>} * @type {Array.<number>}
*/ */
this.hints_ = [0]; this.hints_ = [0, 0];
}; };
goog.inherits(ol.View, ol.Object); goog.inherits(ol.View, ol.Object);