Error loading heatmap layer using cartodb.js

المشرف العام

Administrator
طاقم الإدارة
I'm trying to load a heatmap layer using cartodb.js, but it is failing whether I use createVis or the manual way.

Using createVis:

cartodb.createVis('mapDIV', 'https://PATH/viz.json');
Building a Leaflet map and then adding it:

var layerUrl = 'https://PATH/viz.json';var cartoDB_lyr = cartodb.createLayer(map, layerUrl)cartoDB_lyr.addTo(map);
Either way I am getting the following error message:



I am not sure how to debug this.

If I disable torque in CartoDB (i.e. visualizing the dataset as simple), then the dataset displays without a problem, so it must be specifically related to the heatmap:





أكثر...
 
أعلى