From 0a7151941c48dc3b1458b6c1ba423d93ffe7b40f Mon Sep 17 00:00:00 2001 From: drowe67 Date: Mon, 27 May 2013 01:15:20 +0000 Subject: [PATCH] better default location and zoom git-svn-id: https://svn.code.sf.net/p/freetel/code@1279 01035d8c-6547-0410-b346-abe4f91aad63 --- foxy/foxy.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/foxy/foxy.html b/foxy/foxy.html index 3c9eb0d0..976adf32 100644 --- a/foxy/foxy.html +++ b/foxy/foxy.html @@ -83,7 +83,7 @@ // control panel values etc getCookie(); - + // init map var myLatlng = new google.maps.LatLng(lat, lng); @@ -447,7 +447,13 @@ myzoom = parseInt(bits[2]); debug_enable = parseInt(bits[3]); } - } + } + else { + lat = geolat; + lng = geolng; + myzoom = 8; + } + } -- 2.25.1