Commit Graph

18 Commits

Author SHA1 Message Date
Paul Spencer bada596b45 Add default stability level to docs of exported things. 2013-10-24 18:20:24 -04:00
Tim Schaub 8ca3f13bd2 Instead of providing animation functions, provide the namespace
This follows the convention in the Closure Library of providing either namespace objects (where the property starts with a lowercase letter), constructors (where the property starts with an uppercase letter), or enums (all uppercase properties, only one instance of this in the closure library).
2013-09-04 13:55:36 -06:00
Éric Lemoine 77adbdfa7a Use per-animation function modules
Currently the animation functions share the same module, namely ol.animation. We do differently for ol.control.defaults and ol.interaction.defaults, with ol.control.defaults and ol.interaction.defaults module. This commit replaces the ol.animation module by four modules, one for each animation function.

This makes things more consistent, and will make it possible to use the @exportFunction annotation for the exporting of the animation functions.
2013-08-19 14:25:38 +02:00
Tom Payne d2979fc4ff Improve type checking in ol.animation 2013-04-30 21:29:10 +02:00
Tom Payne 7e8db559fe Be more consistent with animation options 2013-04-06 19:12:39 +02:00
Tom Payne 02196c94b5 Redefine ol.Coordinate to be Array.<number> 2013-04-05 12:30:37 +02:00
Tom Payne 9d950525bb Default to easing inAndOut for all animations 2013-03-09 02:15:32 +01:00
Tom Payne 77bd279160 Use ol.easing instead of goog.fx.easing 2013-03-09 02:03:59 +01:00
Tim Schaub a2bbdf7ccc More natural names for animations 2013-02-06 13:43:54 -07:00
Frederic Junod 3355f9345d Replace ol.animation.createSpin with ol.animation.createRotateFrom 2013-02-06 17:10:21 +01:00
Tom Payne e6eb401e36 Add missing goog.requires 2013-01-30 23:47:13 +01:00
Frederic Junod 7568688301 Use option object rather than positional arguments for ol.animation.create* functions 2013-01-23 17:07:55 +01:00
Marc Jansen 8d979127fc Use goog.now() instead of Date.now().
Date.now() is not supported in Internet Explorer up to IE 9. The goog.now()
method can be used as a replacement.
2013-01-22 12:01:44 +01:00
Tom Payne 965d5e2cc8 Add animation duration to ol.View2D.zoom 2013-01-17 15:50:28 +01:00
Tom Payne 0257db05df Add zoom from animation 2013-01-17 15:38:11 +01:00
Tom Payne bafb53f2e1 Make animations set animating hint 2013-01-14 12:35:54 +01:00
Tom Payne 2a6cc1ae70 Flag 2D-specific code, thanks @elemoine 2013-01-11 16:06:30 +01:00
Tom Payne f3cace499c Implement frame state and animation architecture 2013-01-11 15:48:24 +01:00