diff --git a/predict/js/pred.js b/predict/js/pred.js index 80dd5b5..0dc4786 100644 --- a/predict/js/pred.js +++ b/predict/js/pred.js @@ -86,6 +86,8 @@ function processProgress(progress) { $("#scenario_info").show("slide", { direction: "up" }, 500); toggleWindow("scenario_template", "showHideDebug", "Show Debug", "Hide Debug", "hide"); + // move map to new location + // map.panTo( // un-fade the map canvas $("#map_canvas").fadeTo(1500, 1); appendDebug("Server says: the predictor finished running."); @@ -199,6 +201,9 @@ function parseCSV(lines) { map_items.push(pop_marker); map_items.push(path_polyline); + // pan to the new position + map.panTo(launch_pt); + return true; }