summaryrefslogtreecommitdiff
path: root/map3.js
diff options
context:
space:
mode:
Diffstat (limited to 'map3.js')
-rw-r--r--map3.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/map3.js b/map3.js
index e5f81db..1039cdd 100644
--- a/map3.js
+++ b/map3.js
@@ -19,7 +19,6 @@ debug = function (log_txt) {
}
function initialize(lat, lng, res) {
- $('#visibox').hide();
$('#southeastcontainer').hide();
debug("Initializing Funkfeuer Graz Map");
@@ -481,12 +480,12 @@ function toggleVisible(element) {
function hideElements(elements) {
for(var o in elements.overlays)
- if(elements.select(o)) elements.overlays[o].hide();
+ if(elements.select(o)) elements.overlays[o].setVisible(false);
}
function showElements(elements) {
for(var o in elements.overlays)
- if(elements.select(o)) elements.overlays[o].show();
+ if(elements.select(o)) elements.overlays[o].setVisible(true);
}
function centerAndZoom(lat, lng) {