Flag 2D-specific code, thanks @elemoine
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// FIXME works for View2D only
|
||||
|
||||
goog.provide('ol.animation');
|
||||
|
||||
goog.require('goog.fx.easing');
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// FIXME add view3DState
|
||||
|
||||
goog.provide('ol.FrameState');
|
||||
goog.provide('ol.PostRenderFunction');
|
||||
goog.provide('ol.PreRenderFunction');
|
||||
|
||||
@@ -585,6 +585,7 @@ ol.Map.prototype.renderFrame_ = function(time) {
|
||||
this);
|
||||
|
||||
if (!goog.isNull(frameState)) {
|
||||
// FIXME works for View2D only
|
||||
var center = view2DState.center;
|
||||
var resolution = view2DState.resolution;
|
||||
var rotation = view2DState.rotation;
|
||||
|
||||
Reference in New Issue
Block a user