@ -60,8 +60,8 @@ L.CanvasLayer = L.Layer.extend({
return canvas;
},
_layerAdd: function (e) {
var map = this._map = e.target;
onAdd: function (map) {
this._map = map;
// add container with the canvas to the tile pane
// the container is moved in the oposite direction of the