fixed gmaps initialization

This commit is contained in:
javi 2013-10-28 18:41:07 +01:00
parent 4ce089aceb
commit a481d8bc65

View File

@ -98,13 +98,13 @@ GMapsTorqueLayer.prototype = _.extend({},
},
setSteps: function(steps) {
this.provider.setSteps(steps);
this.animator.steps(steps);
this.provider && this.provider.setSteps(steps);
this.animator && this.animator.steps(steps);
this._reloadTiles();
},
setColumn: function(column, isTime) {
this.provider.setColumn(column, isTime);
this.provider && this.provider.setColumn(column, isTime);
this._reloadTiles();
},