From 4752578b8bc076669e22f2f54044bf39c7feed7e Mon Sep 17 00:00:00 2001 From: Brian Davenport Date: Thu, 30 May 2013 17:32:36 +0000 Subject: [PATCH] Working on making an options window --- public_html/script.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/public_html/script.js b/public_html/script.js index d6048ba..1d14d0c 100644 --- a/public_html/script.js +++ b/public_html/script.js @@ -525,3 +525,15 @@ function selectPlaneByHex(hex) { refreshSelected(); refreshTableInfo(); } + +function resetMap() { + GoogleMap.setZoom(parseInt(localStorage['ZoomLvl'])); + GoogleMap.setCenter(new google.maps.LatLng(parseFloat(localStorage['CenterLat']), parseFloat(localStorage['CenterLon']))); + Selected = null; + refreshSelected(); +} + +function settingToggle() { + console.log("Settings Click"); + $("#options").toggleClass("notvisable"); +}