Auto pan to new launch location after prediction run closes #25

pull/73/head
jonsowman 2010-06-03 15:48:43 +01:00
rodzic 3d2af0121c
commit e30fce5879
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -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;
}