Setting cartocss in internal style
This commit is contained in:
parent
ddf487f56d
commit
35251805bf
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user