/{x}/{y}.png', { attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, &copy; <a href="https://carto.com/attributions">CARTO</a>' }).addTo(map);

             var layerUrl = 'https://diegovalle.carto.com/api/v2/viz/968b131a-97ea-11e6-a8b1-0e3ff518bd15/viz.json';

             // change the query for the first layer
             var subLayerOptions = {
                 sql: "SELECT cartodb_id, crime, cuadrante, date::text, hour::text, lat, long, the_geom_webmer