How can you animate the
fitExtent call, so the map slowly zooms and scrolls to the newly set extent.
What I have is similar to this answer: https://stackoverflow.com/a/23401232/639035
var source = new ol.source.Vector(); ... map.getView().fitExtent(source.getExtent(), map.getSize());
Now I have a "button", which sets a new fitExtent, where I want to have a smooth animation.
What I found so far: OpenLayers Animation example http://openlayers.org/en/v3.1.0/examples/animation.html
However this doesn't use