Use map.render() in examples
This commit is contained in:
@@ -83,7 +83,7 @@ function flash(feature) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// tell OL3 to continue postcompose animation
|
// tell OL3 to continue postcompose animation
|
||||||
frameState.animate = true;
|
map.render();
|
||||||
}
|
}
|
||||||
listenerKey = map.on('postcompose', animate);
|
listenerKey = map.on('postcompose', animate);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ var animateFlights = function(event) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// tell OL3 to continue the postcompose animation
|
// tell OL3 to continue the postcompose animation
|
||||||
frameState.animate = true;
|
map.render();
|
||||||
};
|
};
|
||||||
|
|
||||||
var addLater = function(feature, timeout) {
|
var addLater = function(feature, timeout) {
|
||||||
|
|||||||
Reference in New Issue
Block a user