fixed gmaps cleanup fixed #18
This commit is contained in:
parent
d0ab61ef6d
commit
483923c79a
@ -155,8 +155,6 @@ GMapsTorqueLayer.prototype = _.extend({},
|
||||
return this.stepToTime(this.key);
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* set the cartocss for the current renderer
|
||||
*/
|
||||
@ -172,6 +170,11 @@ GMapsTorqueLayer.prototype = _.extend({},
|
||||
|
||||
redraw: function() {
|
||||
this.scheduleUpdate();
|
||||
},
|
||||
|
||||
onRemove: function() {
|
||||
CanvasLayer.prototype.onRemove.call(this);
|
||||
this.animator.stop();
|
||||
}
|
||||
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user