Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
2954a4264f
@ -177,6 +177,8 @@ L.Map = L.Class.extend({
|
||||
},
|
||||
|
||||
invalidateSize: function() {
|
||||
if (!this._loaded) return this;
|
||||
|
||||
var oldSize = this.getSize();
|
||||
this._sizeChanged = true;
|
||||
this._rawPanBy(oldSize.subtract(this.getSize()).divideBy(2));
|
||||
|
Loading…
Reference in New Issue
Block a user