SQL

CartoCSS

This example only uses one style and one layer whose content is changed.

Since the style and source objects are the same the wont trigger events, you need to use the promise to handle errors.