Define isDef on ol.IView2D, ol.IView3D and ol.View
This commit is contained in:
@@ -56,6 +56,16 @@ ol.View.prototype.getView2D = goog.abstractMethod;
|
||||
ol.View.prototype.getView3D = goog.abstractMethod;
|
||||
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
ol.View.prototype.isDef = function() {
|
||||
// FIXME for some reason, we can't use goog.abstractMethod here
|
||||
goog.asserts.fail();
|
||||
return false;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {ol.ViewHint} hint Hint.
|
||||
* @param {number} delta Delta.
|
||||
|
||||
Reference in New Issue
Block a user