From: drowe67 Date: Mon, 27 May 2013 01:15:20 +0000 (+0000) Subject: better default location and zoom X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=0a7151941c48dc3b1458b6c1ba423d93ffe7b40f;p=freetel-svn-tracking.git better default location and zoom git-svn-id: https://svn.code.sf.net/p/freetel/code@1279 01035d8c-6547-0410-b346-abe4f91aad63 --- 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; + } + }