better default location and zoom
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Mon, 27 May 2013 01:15:20 +0000 (01:15 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Mon, 27 May 2013 01:15:20 +0000 (01:15 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@1279 01035d8c-6547-0410-b346-abe4f91aad63

foxy/foxy.html

index 3c9eb0d0d99cb25fefc673ccca3efba18d398a6e..976adf32f046c9f8260c9e73405839899644b0da 100644 (file)
@@ -83,7 +83,7 @@
     // control panel values etc
  
     getCookie();
-
+      
     // init map
 
     var myLatlng = new google.maps.LatLng(lat, lng);
         myzoom = parseInt(bits[2]);
         debug_enable = parseInt(bits[3]);
       }
-    } 
+    }
+    else {      
+      lat = geolat;
+      lng = geolng;
+      myzoom = 8;
+    }
+
   }