diff --git a/src/map/Map.js b/src/map/Map.js index 0c67939d..32639f32 100644 --- a/src/map/Map.js +++ b/src/map/Map.js @@ -35,11 +35,10 @@ L.Map = L.Class.extend({ this.setView(L.latLng(options.center), options.zoom, {reset: true}); } - this._initLayers(options.layers); - this._handlers = []; - this.callInitHooks(); + + this._initLayers(options.layers); },