Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

reduce added fly animation time

Ed Platoe6403a378d20
diff --git a/web/js/map/animate.js b/web/js/map/animate.js
index acaa87a69..33ec57858 100644
--- a/web/js/map/animate.js
+++ b/web/js/map/animate.js
@@ -23,7 +23,7 @@ export function mapAnimate(models, config, ui) {
var line = new OlGeomLineString([startPoint, endPoint]);
var distance = line.getLength(); // In map units, which is usually degrees
var distanceDuration = polarProjectionCheck ? distance / 50000 : distance; // limit large polar projection distances from coordinate transforms
- var duration = Math.floor((distanceDuration * 20) + 1000); // 4.6 seconds to go 360 degrees
+ var duration = Math.floor((distanceDuration * 15) + 800); // 4.6 seconds to go 360 degrees
var animationPromise = function () {
var args = Array.prototype.slice.call(arguments);
return new Promise(function (resolve, reject) {