Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

fixed GIF rotation reset error

Benjaminb8da3befa442
diff --git a/web/js/animation/wv.anim.gif.js b/web/js/animation/wv.anim.gif.js
index b15246024..5ef32c609 100644
--- a/web/js/animation/wv.anim.gif.js
+++ b/web/js/animation/wv.anim.gif.js
@@ -150,8 +150,8 @@ wv.anim.gif = wv.anim.gif || function(models, config, ui) {
message: ROTATE_WARNING,
onOk: function() {
resetRotation();
- //Let rotation finish before image download can occur
- self.getGif();
+ //Let rotation finish before reselecting can occur
+ setImageCoords();
}
});
return;
@@ -231,7 +231,6 @@ wv.anim.gif = wv.anim.gif || function(models, config, ui) {
rotation: ui.map.selected.getView().getRotation()
}));
ui.map.selected.getView().rotate(0);
- ui.map.updateRotation();
};
var onGifComplete = function (obj) { //callback function for when image is finished
if (obj.error === false) {