]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/openlayers/SimplePanZoom.js
Reposition the zoom slider after recreating the SimplePanZoom control
[rails.git] / app / assets / openlayers / SimplePanZoom.js
index a1a389d90d73177f3c42511ad8f34c3d293be04f..83f6b9dd235d0457ef0cfb28b94a05cafc6d50f1 100644 (file)
@@ -135,6 +135,7 @@ OpenLayers.Control.SimplePanZoom = OpenLayers.Class(OpenLayers.Control.PanZoom,
             this._removeZoomBar();
         }  
         this.draw();
+        this.moveZoomBar();
     },
     
     /**