From d65e289bddadb73d4e82b746e8814cc268cc9815 Mon Sep 17 00:00:00 2001 From: Mourner Date: Mon, 21 Mar 2011 19:46:25 +0200 Subject: [PATCH] clean up --- dist/leaflet.css | 3 ++- src/layer/ImageOverlay.js | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/leaflet.css b/dist/leaflet.css index 38e0aad8..713718f9 100644 --- a/dist/leaflet.css +++ b/dist/leaflet.css @@ -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 { diff --git a/src/layer/ImageOverlay.js b/src/layer/ImageOverlay.js index 5ff21ee5..12364471 100644 --- a/src/layer/ImageOverlay.js +++ b/src/layer/ImageOverlay.js @@ -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, {