Add showLimitErrors to gmaps/torque

This commit is contained in:
rubenmoya 2017-11-16 11:20:03 +01:00
parent cf5a29c3a7
commit feb9fa3e01

View File

@ -34,6 +34,8 @@ function GMapsTorqueLayer(options) {
this.hidden = !this.options.visible;
this.showLimitErrors = options.showLimitErrors;
this.animator = new torque.Animator(function(time) {
var k = time | 0;
if(self.getKey() !== k) {