sets local cartocss on startup
This commit is contained in:
parent
3f4279a355
commit
4cd282a6d4
@ -73,6 +73,7 @@ var CartoDatasource = require('./datasource');
|
|||||||
this._iconsToLoad = 0;
|
this._iconsToLoad = 0;
|
||||||
this._filters = new Filters(this._canvas, {canvasClass: options.canvasClass});
|
this._filters = new Filters(this._canvas, {canvasClass: options.canvasClass});
|
||||||
this.style = this.options.cartocss || DEFAULT_CARTOCSS;
|
this.style = this.options.cartocss || DEFAULT_CARTOCSS;
|
||||||
|
this.setCartoCSS(this.style);
|
||||||
this.TILE_SIZE = 256;
|
this.TILE_SIZE = 256;
|
||||||
this._style = null;
|
this._style = null;
|
||||||
this._gradients = {};
|
this._gradients = {};
|
||||||
|
Loading…
Reference in New Issue
Block a user