Working on making an options window

This commit is contained in:
Brian Davenport 2013-05-30 17:32:36 +00:00
parent ca314fcf2c
commit 4752578b8b

View file

@ -525,3 +525,15 @@ function selectPlaneByHex(hex) {
refreshSelected(); refreshSelected();
refreshTableInfo(); 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");
}