diff options
Diffstat (limited to 'map3.js')
-rw-r--r-- | map3.js | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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) { |