Fix a swap Pixel->Size from r363
git-svn-id: http://svn.openlayers.org/trunk/openlayers@380 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -53,7 +53,7 @@ OpenLayers.Control.PanZoomBar.prototype =
|
|||||||
|
|
||||||
var zoomStopSize = this.zoomStopHeight;
|
var zoomStopSize = this.zoomStopHeight;
|
||||||
var slider = OpenLayers.Util.createAlphaImageDiv(imgLocation+"slider.png",
|
var slider = OpenLayers.Util.createAlphaImageDiv(imgLocation+"slider.png",
|
||||||
new OpenLayers.Pixel(20,9),
|
new OpenLayers.Size(20,9),
|
||||||
centered.add(-1, (this.map.getZoomLevels())*zoomStopSize), "absolute",
|
centered.add(-1, (this.map.getZoomLevels())*zoomStopSize), "absolute",
|
||||||
"OpenLayers_Control_PanZoomBar_Slider" + this.map.id);
|
"OpenLayers_Control_PanZoomBar_Slider" + this.map.id);
|
||||||
slider.style.zIndex = this.div.zIndex + 5;
|
slider.style.zIndex = this.div.zIndex + 5;
|
||||||
|
|||||||
Reference in New Issue
Block a user