From faf9e467e43c4af87b3ab23a7df2b65a2fe73927 Mon Sep 17 00:00:00 2001 From: tsauerwein Date: Tue, 17 Nov 2015 09:22:41 +0100 Subject: [PATCH] Use map.render() in examples --- examples/feature-animation.js | 2 +- examples/flight-animation.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/feature-animation.js b/examples/feature-animation.js index 8295ec745d..e6ba2c15f3 100644 --- a/examples/feature-animation.js +++ b/examples/feature-animation.js @@ -83,7 +83,7 @@ function flash(feature) { return; } // tell OL3 to continue postcompose animation - frameState.animate = true; + map.render(); } listenerKey = map.on('postcompose', animate); } diff --git a/examples/flight-animation.js b/examples/flight-animation.js index 44eea2c883..b2a2714c50 100644 --- a/examples/flight-animation.js +++ b/examples/flight-animation.js @@ -71,7 +71,7 @@ var animateFlights = function(event) { } } // tell OL3 to continue the postcompose animation - frameState.animate = true; + map.render(); }; var addLater = function(feature, timeout) {