adds error handling to gmaps exampe

This commit is contained in:
Francisco Dans 2015-04-15 11:21:17 +02:00
parent 2ae4b71df6
commit d95399502c

View File

@ -77,7 +77,11 @@
cartocss: CARTOCSS,
map: map
});
torqueLayer.error(function(err){
for(error in err){
console.warn(err[error]);
}
});
torqueLayer.setMap(map);
torqueLayer.play()
}