Restore onAdd method

pull/284/head
Francisco López 8 years ago
parent 490d91fe15
commit b94b4812c7

@ -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

Loading…
Cancel
Save