diff options
author | Christian Pointner <equinox@ffgraz.net> | 2013-12-29 20:21:44 +0000 |
---|---|---|
committer | Christian Pointner <equinox@ffgraz.net> | 2013-12-29 20:21:44 +0000 |
commit | 8eb2763f8e234af02a08738097e5d5ebeee22550 (patch) | |
tree | d434d70d0bf563807d2e60e724812fcc4923ab3a | |
parent | e08c7b0ed46f4f88ec570926b6400704a5863a06 (diff) |
visibility changing works now
-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) { |