Merge pull request #98 from danielrichman/master

More realistic delta square
pull/99/merge
Adam Greig 2012-12-24 10:33:16 -08:00
commit 1b0c430972
2 zmienionych plików z 3 dodań i 3 usunięć

2
gfs/.gitignore vendored
Wyświetl plik

@ -1 +1 @@
*.dat
tmp*

Wyświetl plik

@ -109,8 +109,8 @@ function drawDeltaSquare(map) {
// Clear the old delta square if it exists
if ( map_items['delta_square'] ) map_items['delta_square'].setMap(null);
// Get the values from the form
var lat = parseFloat($("#lat").val());
var lon = parseFloat($("#lon").val());
var lat = Math.round(parseFloat($("#lat").val()));
var lon = Math.round(parseFloat($("#lon").val()));
var dlat = parseFloat($("#delta_lat").val());
var dlon = parseFloat($("#delta_lon").val());
// Construct a rectange of points