diff --git a/examples/side-by-side.js b/examples/side-by-side.js index b5d108b0df..661d1ebb79 100644 --- a/examples/side-by-side.js +++ b/examples/side-by-side.js @@ -131,7 +131,7 @@ keyboardInteraction.addCallback('l', function() { view.setCenter(LONDON); }); keyboardInteraction.addCallback('L', function() { - var start = goog.now(); + var start = +new Date(); var duration = 5000; var bounce = ol.animation.bounce({ resolution: 2 * view.getResolution(), @@ -166,7 +166,7 @@ keyboardInteraction.addCallback('m', function() { view.setCenter(MOSCOW); }); keyboardInteraction.addCallback('M', function() { - var start = goog.now(); + var start = +new Date(); var duration = 5000; var bounce = ol.animation.bounce({ resolution: 2 * view.getResolution(), diff --git a/src/ol/animation.exports b/src/ol/animation.exports index 98207b2e1a..4a8819704d 100644 --- a/src/ol/animation.exports +++ b/src/ol/animation.exports @@ -2,3 +2,4 @@ @exportProperty ol.animation.bounce @exportProperty ol.animation.pan @exportProperty ol.animation.rotate +@exportProperty ol.animation.zoom diff --git a/src/ol/easing.exports b/src/ol/easing.exports new file mode 100644 index 0000000000..62418771ad --- /dev/null +++ b/src/ol/easing.exports @@ -0,0 +1,5 @@ +@exportSymbol ol.easing +@exportProperty ol.easing.linear +@exportProperty ol.easing.upAndDown +@exportProperty ol.easing.elastic +@exportProperty ol.easing.bounce