Don't show the layer switcher anymore. I introduced it for debugging purposes.
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Fri, 9 Aug 2013 13:33:09 +0000 (13:33 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Fri, 9 Aug 2013 13:33:09 +0000 (13:33 +0000)
git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrmap/trunk@1502 7aebc617-e5e2-0310-91dc-80fb5f6d2477

wrmap.js

index 86d5bcbb2d0c85f3781765713aea5827c6a53e68..c3567b5d8d9ab9378f393d3af26ef8b21000db7a 100644 (file)
--- a/wrmap.js
+++ b/wrmap.js
@@ -105,6 +105,7 @@ function init_wrmap(i, jq_map) {
                rendererOptions: {yOrdering: true}
        });
 
+
        // map itself
        // ----------
        var lon = parseFloat(jq_map.attr('data-center-lon'));
@@ -132,7 +133,7 @@ function init_wrmap(i, jq_map) {
        navigation_control.disableZoomWheel();
 
        // layer switcher
-       map.addControl(new OpenLayers.Control.LayerSwitcher());
+       // map.addControl(new OpenLayers.Control.LayerSwitcher());
 
        // print sledrun name when mouse moves over it
        map.addControl(new OpenLayers.Control.SelectFeature(layer_sledrun, {