adds error handling to navy leaflet example
This commit is contained in:
parent
7626ebe3b6
commit
8d8d65050d
@ -54,6 +54,11 @@
|
||||
table : 'ow',
|
||||
cartocss: CARTOCSS
|
||||
});
|
||||
torqueLayer.error(function(err){
|
||||
for(error in err){
|
||||
console.warn(err[error]);
|
||||
}
|
||||
});
|
||||
torqueLayer.addTo(map);
|
||||
torqueLayer.play()
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user