diff --git a/lib/torque/leaflet/torque.js b/lib/torque/leaflet/torque.js index 3d6a55e..5b6d119 100644 --- a/lib/torque/leaflet/torque.js +++ b/lib/torque/leaflet/torque.js @@ -210,7 +210,10 @@ L.TorqueLayer = L.CanvasLayer.extend({ var canvas = this.getCanvas(); this.renderer.clearCanvas(); var ctx = canvas.getContext('2d'); - + if(typeof this.renderer.ballRenderer !== "undefined"){ + this.renderer._ctx.setTransform(1, 0, 0, 1, 0, 0); + this.renderer.ballRenderer.invalidate(); + } for(t in this._tiles) { tile = this._tiles[t]; if (tile) {