fixes method call
This commit is contained in:
parent
d1c224ff13
commit
b295bdbd5f
@ -124,7 +124,7 @@ var carto = global.carto || require('carto');
|
|||||||
var w = ctx.width = canvas.width = ctx.height = canvas.height = Math.ceil(canvasSize);
|
var w = ctx.width = canvas.width = ctx.height = canvas.height = Math.ceil(canvasSize);
|
||||||
ctx.translate(w/2, w/2);
|
ctx.translate(w/2, w/2);
|
||||||
|
|
||||||
var img_names = this._shader.getIconURLs();
|
var img_names = this._shader.getImageURLs();
|
||||||
if(img_names.length > 0){
|
if(img_names.length > 0){
|
||||||
if(Object.keys(this._icons).length === 0){
|
if(Object.keys(this._icons).length === 0){
|
||||||
for (var i = 0; i<img_names.length; i++){
|
for (var i = 0; i<img_names.length; i++){
|
||||||
|
Loading…
Reference in New Issue
Block a user