fix to PanZoom controls to make them alpha-clear. This is it for #25

git-svn-id: http://svn.openlayers.org/trunk/openlayers@363 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-05-25 16:38:07 +00:00
parent a844ccafe2
commit af4028879f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ OpenLayers.Control.PanZoom.prototype =
_addButton:function(id, img, xy, sz) {
var imgLocation = OpenLayers.Util.getImagesLocation() + img;
// var btn = new ol.AlphaImage("_"+id, imgLocation, xy, sz);
var btn = OpenLayers.Util.createImage(
var btn = OpenLayers.Util.createAlphaImageDiv(
imgLocation, sz, xy, "absolute",
"OpenLayers_Control_PanZoom_" + id );