We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a78211 commit c62c4f5Copy full SHA for c62c4f5
lib/torque/renderer/point.js
@@ -123,7 +123,7 @@ var CartoDatasource = require('./datasource');
123
124
this.style = stripComments(cartocss);
125
126
- if (PointRenderer.isTurboCarto(this.style)) {
+ if (PointRenderer.isTurboCarto(this.style) && self.layer) {
127
var datasource = new CartoDatasource(self.layer._tiles);
128
turbocarto(this.style, datasource, function (err, parsedCartoCSS) {
129
if (err) {
0 commit comments