revert clearing map div contents, fix positioning, close #278 again

This commit is contained in:
Vladimir Agafonkin 2012-12-10 17:57:04 +02:00
parent 7ae4459dd3
commit 96e4c80c75
2 changed files with 1 additions and 1 deletions

1
dist/leaflet.css vendored
View File

@ -15,6 +15,7 @@
.leaflet-layer {
position: absolute;
left: 0;
top: 0;
}
.leaflet-container {
overflow: hidden;

View File

@ -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) {