Remove IView3D
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// FIXME add view3DState
|
||||
// FIXME factor out common code between usedTiles and wantedTiles
|
||||
|
||||
goog.provide('ol.PostRenderFunction');
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
goog.provide('ol.IView');
|
||||
|
||||
goog.require('ol.IView2D');
|
||||
goog.require('ol.IView3D');
|
||||
|
||||
|
||||
|
||||
@@ -21,13 +20,6 @@ ol.IView.prototype.getView2D = function() {
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @return {ol.IView3D} View3D.
|
||||
*/
|
||||
ol.IView.prototype.getView3D = function() {
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @return {boolean} Is defined.
|
||||
*/
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
goog.provide('ol.IView3D');
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Interface for views.
|
||||
* @interface
|
||||
*/
|
||||
ol.IView3D = function() {
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @return {boolean} Is defined.
|
||||
*/
|
||||
ol.IView3D.prototype.isDef = function() {
|
||||
};
|
||||
@@ -64,16 +64,6 @@ ol.View.prototype.getView2D = function() {
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
ol.View.prototype.getView3D = function() {
|
||||
// FIXME for some reason, we can't use goog.abstractMethod here
|
||||
goog.asserts.fail();
|
||||
return null;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
// FIXME getView3D has not return type
|
||||
|
||||
goog.provide('ol.View2D');
|
||||
goog.provide('ol.View2DProperty');
|
||||
|
||||
@@ -8,7 +6,6 @@ goog.require('ol');
|
||||
goog.require('ol.CenterConstraint');
|
||||
goog.require('ol.Constraints');
|
||||
goog.require('ol.IView2D');
|
||||
goog.require('ol.IView3D');
|
||||
goog.require('ol.ResolutionConstraint');
|
||||
goog.require('ol.RotationConstraint');
|
||||
goog.require('ol.RotationConstraintType');
|
||||
@@ -82,7 +79,6 @@ ol.View2DProperty = {
|
||||
*
|
||||
* @constructor
|
||||
* @implements {ol.IView2D}
|
||||
* @implements {ol.IView3D}
|
||||
* @extends {ol.View}
|
||||
* @param {olx.View2DOptions=} opt_options View2D options.
|
||||
* @todo api
|
||||
@@ -392,13 +388,6 @@ ol.View2D.prototype.getView2DState = function() {
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* FIXME return type
|
||||
*/
|
||||
ol.View2D.prototype.getView3D = function() {
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Get the current zoom level. Return undefined if the current
|
||||
* resolution is undefined or not a "constrained resolution".
|
||||
|
||||
Reference in New Issue
Block a user