fixed updating steps when sql changes in windshaft provider
This commit is contained in:
parent
73c546e192
commit
175b25c7b8
2
NEWS
2
NEWS
@ -1,6 +1,8 @@
|
||||
2.4.01
|
||||
- fixed rectangle anchor and size #42
|
||||
- fixed on method in torque.Event
|
||||
- fixed problem updating steps when sql change in windshaft provider
|
||||
|
||||
2.4.00 - May/22/2014
|
||||
- Changed date parsing for windshaft provider
|
||||
- Optimized tile loading
|
||||
|
@ -39,6 +39,16 @@
|
||||
};
|
||||
|
||||
exports.torque.Event = Event;
|
||||
exports.torque.extend = function(a, b) {
|
||||
for (var k in b) {
|
||||
a[k] = b[k];
|
||||
}
|
||||
return a
|
||||
}
|
||||
|
||||
exports.torque.clone = function(a) {
|
||||
return exports.torque.extend({}, a);
|
||||
}
|
||||
|
||||
|
||||
// types
|
||||
|
@ -30,7 +30,7 @@ function GMapsTorqueLayer(options) {
|
||||
if(self.key !== k) {
|
||||
self.setKey(k);
|
||||
}
|
||||
}, this.options);
|
||||
}, torque.clone(this.options));
|
||||
|
||||
this.play = this.animator.start.bind(this.animator);
|
||||
this.stop = this.animator.stop.bind(this.animator);
|
||||
|
@ -36,7 +36,7 @@ L.TorqueLayer = L.CanvasLayer.extend({
|
||||
if(self.key !== k) {
|
||||
self.setKey(k, { direct: true });
|
||||
}
|
||||
}, options);
|
||||
}, torque.clone(options));
|
||||
|
||||
this.play = this.animator.start.bind(this.animator);
|
||||
this.stop = this.animator.stop.bind(this.animator);
|
||||
|
Loading…
Reference in New Issue
Block a user