Debug option for internal nodes: it allows to display and customize cartocss
This commit is contained in:
parent
f504807812
commit
634a4c2a01
@ -104,11 +104,13 @@ MapConfigAnalysisLayersAdapter.prototype.getLayers = function(analysisConfigurat
|
||||
var layers = [];
|
||||
|
||||
analysis.getSortedNodes().reverse().forEach(function(node, i) {
|
||||
var layer = getLayer(node.getQuery(), node.getColumns(), '#333', 0.1 * i);
|
||||
if (!!node.params && !!node.params.cartocss) {
|
||||
layer = getLayerWithStyle(node.getQuery(), node.getColumns(), node.params.cartocss);
|
||||
if (node.params && node.params.debug) {
|
||||
var layer = getLayer(node.getQuery(), node.getColumns(), '#333', 0.1 * i);
|
||||
if (!!node.params && !!node.params.cartocss) {
|
||||
layer = getLayerWithStyle(node.getQuery(), node.getColumns(), node.params.cartocss);
|
||||
}
|
||||
layers.push(layer);
|
||||
}
|
||||
layers.push(layer);
|
||||
});
|
||||
|
||||
layers.push(getLayerWithStyle(
|
||||
|
Loading…
Reference in New Issue
Block a user