added necessary function for getting attribution from a CanvasLayer
This commit is contained in:
parent
651526147c
commit
f8c90b0c34
@ -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();
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user