Replace ol.animation.createSpin with ol.animation.createRotateFrom