Edit SQL & CartoCSS

Edit manually the SQL query and the CartoCSS style.

USAGE

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

Since the style and source objects are the same they won't trigger events. You need to use the promise to handle errors.

SQL

CartoCSS