fixed rescale steps to animator in google maps

This commit is contained in:
javi 2013-11-11 09:46:35 +01:00
parent 14530a4ce2
commit ca53e4f482

View File

@ -73,6 +73,7 @@ GMapsTorqueLayer.prototype = _.extend({},
self.fire("change:bounds", {
bounds: self.provider.getBounds()
});
self.animator.steps(self.provider.getSteps());
self.animator.rescale();
self.fire('change:steps', {
steps: self.provider.getSteps()