This commit is contained in:
Mourner 2011-03-21 19:46:25 +02:00
parent a41f1fd0f2
commit d65e289bdd
2 changed files with 2 additions and 2 deletions

3
dist/leaflet.css vendored
View File

@ -10,7 +10,8 @@
.leaflet-marker-pane,
.leaflet-popup-pane,
.leaflet-overlay-pane svg,
.leaflet-zoom-box {
.leaflet-zoom-box,
.leaflet-image-layer { /* TODO optimize classes */
position: absolute;
}
.leaflet-container {

View File

@ -12,7 +12,6 @@ L.ImageOverlay = L.Class.extend({
this._image = L.DomUtil.create('img', 'leaflet-image-layer');
this._image.style.visibility = 'hidden';
this._image.style.position = 'absolute';
//TODO opacity option
L.Util.extend(this._image, {