Setting cartocss in internal style

This commit is contained in:
xavijam 2016-09-22 11:51:33 +02:00
parent ddf487f56d
commit 35251805bf

View File

@ -111,6 +111,9 @@ var CartoDatasource = require('./datasource');
//
setCartoCSS: function(cartocss, callback) {
var self = this;
this.style = cartocss;
if (PointRenderer.isTurboCarto(cartocss)) {
var datasource = new CartoDatasource(self.layer._tiles);
turbocarto(cartocss, datasource, function (err, parsedCartoCSS) {