added necessary function for getting attribution from a CanvasLayer

This commit is contained in:
xavijam 2013-12-18 10:59:28 +01:00
parent 651526147c
commit f8c90b0c34

View File

@ -60,6 +60,10 @@ L.CanvasLayer = L.Class.extend({
return this._canvas; return this._canvas;
}, },
getAttribution: function() {
return this.options.attribution;
},
draw: function() { draw: function() {
return this._reset(); return this._reset();
}, },