diff --git a/dist/leaflet.css b/dist/leaflet.css index 56308e83..21bf8aaa 100644 --- a/dist/leaflet.css +++ b/dist/leaflet.css @@ -15,6 +15,7 @@ .leaflet-layer { position: absolute; left: 0; + top: 0; } .leaflet-container { overflow: hidden; diff --git a/src/map/Map.js b/src/map/Map.js index 640a7a01..6c7e14da 100644 --- a/src/map/Map.js +++ b/src/map/Map.js @@ -417,7 +417,6 @@ L.Map = L.Class.extend({ _initLayout: function () { var container = this._container; - container.innerHTML = ''; L.DomUtil.addClass(container, 'leaflet-container'); if (L.Browser.touch) {