adds call to gmaps onRemove
This commit is contained in:
parent
e0c68c17e5
commit
c50b60db9c
@ -294,6 +294,7 @@ GMapsTorqueLayer.prototype = torque.extend({},
|
|||||||
},
|
},
|
||||||
|
|
||||||
onRemove: function() {
|
onRemove: function() {
|
||||||
|
this.fire('remove');
|
||||||
CanvasLayer.prototype.onRemove.call(this);
|
CanvasLayer.prototype.onRemove.call(this);
|
||||||
this.animator.stop();
|
this.animator.stop();
|
||||||
this._removeTileLoader();
|
this._removeTileLoader();
|
||||||
|
Loading…
Reference in New Issue
Block a user