adds error handling to gmaps exampe
This commit is contained in:
parent
2ae4b71df6
commit
d95399502c
@ -77,7 +77,11 @@
|
|||||||
cartocss: CARTOCSS,
|
cartocss: CARTOCSS,
|
||||||
map: map
|
map: map
|
||||||
});
|
});
|
||||||
|
torqueLayer.error(function(err){
|
||||||
|
for(error in err){
|
||||||
|
console.warn(err[error]);
|
||||||
|
}
|
||||||
|
});
|
||||||
torqueLayer.setMap(map);
|
torqueLayer.setMap(map);
|
||||||
torqueLayer.play()
|
torqueLayer.play()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user