returns this on error function
This commit is contained in:
parent
d95399502c
commit
64d05276ae
@ -338,6 +338,7 @@ GMapsTorqueLayer.prototype = torque.extend({},
|
||||
|
||||
error: function (callback) {
|
||||
this.options.errorCallback = callback;
|
||||
return this;
|
||||
}
|
||||
|
||||
});
|
||||
|
@ -176,6 +176,7 @@ L.CanvasLayer = L.Class.extend({
|
||||
|
||||
error: function (callback) {
|
||||
this.provider.options.errorCallback = callback;
|
||||
return this;
|
||||
},
|
||||
|
||||
setOpacity: function (opacity) {
|
||||
|
Loading…
Reference in New Issue
Block a user