allow for user to set the sizing method. make default 'scale'. set to 'crop' as desired for panzoombar in r396. removed outdated tests
git-svn-id: http://svn.openlayers.org/trunk/openlayers@401 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -76,7 +76,7 @@ OpenLayers.Control.PanZoomBar.prototype =
|
||||
div = OpenLayers.Util.createAlphaImageDiv(id, centered,
|
||||
new OpenLayers.Size(sz.w, zoomStopSize),
|
||||
imgLocation + "zoombar.png",
|
||||
"absolute");
|
||||
"absolute", null, "crop");
|
||||
div.style.height = sz.h;
|
||||
} else {
|
||||
div = OpenLayers.Util.createDiv(
|
||||
|
||||
Reference in New Issue
Block a user