Call to cartocss renderer
This commit is contained in:
parent
7499e8cf6a
commit
5efdf16c61
@ -85,13 +85,13 @@ var carto = require('carto');
|
||||
ctx.translate(w/2, w/2);
|
||||
|
||||
if(st['point-file'] || st['marker-file']) {
|
||||
torque.cartocss.renderSprite(ctx, st);
|
||||
cartocss.renderSprite(ctx, st);
|
||||
} else {
|
||||
var mt = st['marker-type'];
|
||||
if (mt && mt === 'rectangle') {
|
||||
torque.cartocss.renderRectangle(ctx, st);
|
||||
cartocss.renderRectangle(ctx, st);
|
||||
} else {
|
||||
torque.cartocss.renderPoint(ctx, st);
|
||||
cartocss.renderPoint(ctx, st);
|
||||
}
|
||||
}
|
||||
prof.end(true);
|
||||
|
Loading…
Reference in New Issue
Block a user