Add view abstraction
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
goog.provide('ol.IView');
|
||||
|
||||
goog.require('ol.IView2D');
|
||||
goog.require('ol.IView3D');
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Interface for views.
|
||||
* @interface
|
||||
*/
|
||||
ol.IView = function() {
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @return {ol.IView2D} View2D.
|
||||
*/
|
||||
ol.IView.prototype.getView2D = function() {
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @return {ol.IView3D} View3D.
|
||||
*/
|
||||
ol.IView.prototype.getView3D = function() {
|
||||
};
|
||||
Reference in New Issue
Block a user