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:
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user