Merge pull request #3052 from kshepard/fix-async-initialize

Initialize _sizeChanged to true to prevent async map initialization issues
This commit is contained in:
Vladimir Agafonkin 2014-11-22 11:47:07 +02:00
commit 69e0d0233d

View File

@ -44,6 +44,7 @@ L.Map = L.Evented.extend({
this._handlers = [];
this._layers = {};
this._zoomBoundLayers = {};
this._sizeChanged = true;
this.callInitHooks();