Flag 2D-specific code, thanks @elemoine

This commit is contained in:
Tom Payne
2013-01-11 16:06:30 +01:00
parent f00e299039
commit 2a6cc1ae70
3 changed files with 5 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
// FIXME works for View2D only
goog.provide('ol.animation');
goog.require('goog.fx.easing');

View File

@@ -1,3 +1,5 @@
// FIXME add view3DState
goog.provide('ol.FrameState');
goog.provide('ol.PostRenderFunction');
goog.provide('ol.PreRenderFunction');

View File

@@ -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;