revert clearing map div contents, fix positioning, close #278 again
This commit is contained in:
parent
7ae4459dd3
commit
96e4c80c75
1
dist/leaflet.css
vendored
1
dist/leaflet.css
vendored
@ -15,6 +15,7 @@
|
||||
.leaflet-layer {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
.leaflet-container {
|
||||
overflow: hidden;
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user