From: Tom Hughes Date: Wed, 15 Aug 2012 18:04:40 +0000 (+0100) Subject: Reposition the zoom slider after recreating the SimplePanZoom control X-Git-Tag: live~5417 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/31af63f273277a66d11488cdf9cde17f896682d7?hp=2638cd525262321f28479e5c5598866b4e2fd93e Reposition the zoom slider after recreating the SimplePanZoom control --- diff --git a/app/assets/openlayers/SimplePanZoom.js b/app/assets/openlayers/SimplePanZoom.js index a1a389d90..83f6b9dd2 100644 --- a/app/assets/openlayers/SimplePanZoom.js +++ b/app/assets/openlayers/SimplePanZoom.js @@ -135,6 +135,7 @@ OpenLayers.Control.SimplePanZoom = OpenLayers.Class(OpenLayers.Control.PanZoom, this._removeZoomBar(); } this.draw(); + this.moveZoomBar(); }, /**