fixes method call

This commit is contained in:
Francisco Dans 2015-01-08 16:45:09 +01:00
parent d1c224ff13
commit b295bdbd5f

View File

@ -124,7 +124,7 @@ var carto = global.carto || require('carto');
var w = ctx.width = canvas.width = ctx.height = canvas.height = Math.ceil(canvasSize);
ctx.translate(w/2, w/2);
var img_names = this._shader.getIconURLs();
var img_names = this._shader.getImageURLs();
if(img_names.length > 0){
if(Object.keys(this._icons).length === 0){
for (var i = 0; i<img_names.length; i++){