Use map.render() in examples

This commit is contained in:
tsauerwein
2015-11-17 09:22:41 +01:00
parent 072a347a54
commit faf9e467e4
2 changed files with 2 additions and 2 deletions

View File

@@ -83,7 +83,7 @@ function flash(feature) {
return;
}
// tell OL3 to continue postcompose animation
frameState.animate = true;
map.render();
}
listenerKey = map.on('postcompose', animate);
}

View File

@@ -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) {