Pan To button working correctly

pull/73/head
jonsowman 2010-07-28 20:50:52 +00:00
rodzic 7b8b54bb47
commit 73295075c0
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -152,6 +152,10 @@ function writePredictionInfo(current_uuid, run_time, gfs_timestamp) {
// populate the download links
$("#dlcsv").attr("href", "preds/"+current_uuid+"/flight_path.csv");
$("#dlkml").attr("href", "kml.php?uuid="+current_uuid);
$("#panto").click(function() {
map.panTo(map_items['launch_marker'].position);
//map.setZoom(7);
});
$("#run_time").html(POSIXtoHM(run_time, "H:i d/m/Y"));
$("#gfs_timestamp").html(gfs_timestamp);
}