Implement frame state and animation architecture
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
goog.provide('ol.FrameState');
|
||||
goog.provide('ol.PreRenderFunction');
|
||||
|
||||
goog.require('ol.Color');
|
||||
goog.require('ol.Coordinate');
|
||||
goog.require('ol.Extent');
|
||||
goog.require('ol.Size');
|
||||
goog.require('ol.View2DState');
|
||||
goog.require('ol.layer.LayerState');
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{animate: boolean,
|
||||
* backgroundColor: ol.Color,
|
||||
* extent: (null|ol.Extent),
|
||||
* layersArray: Array.<ol.layer.Layer>,
|
||||
* layerStates: Object.<number, ol.layer.LayerState>,
|
||||
* size: ol.Size,
|
||||
* time: number,
|
||||
* view2DState: ol.View2DState}}
|
||||
*/
|
||||
ol.FrameState;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {function(ol.Map, ?ol.FrameState): boolean}
|
||||
*/
|
||||
ol.PreRenderFunction;
|
||||
Reference in New Issue
Block a user