var gAuthClientID = "lantea";
window.onload = function() {
+ // Assign click functions to buttons.
+ document.getElementById("zoomInButton").onclick = gMap.zoomIn;
+ document.getElementById("zoomOutButton").onclick = gMap.zoomOut;
+
gAction = document.getElementById("action");
gActionLabel = document.getElementById("actionlabel");
}
}
+function setMapStyle() {
+ var mapSel = document.getElementById("mapSelector");
+ if (mapSel.selectedIndex >= 0 && gMap.activeMap != mapSel.value) {
+ gMap.setActiveMap(mapSel.value);
+ }
+}
+
var gPrefs = {
objStore: "prefs",