removes old reference, renames method

This commit is contained in:
Francisco Dans 2015-01-08 16:40:02 +01:00
parent f91ac22bfc
commit d2a557acd9

View File

@ -165,7 +165,7 @@ CartoCSS.prototype = {
} }
} }
}, },
getIconURLs: function(){ getImageURLs: function(){
return this.imageURLs; return this.imageURLs;
}, },
@ -202,7 +202,6 @@ CartoCSS.prototype = {
var layer = layers[key] = (layers[key] || { var layer = layers[key] = (layers[key] || {
symbolizers: [] symbolizers: []
}); });
this.imageURLs = _getImageURLs(def);
for(var u = 0; u<def.rules.length; u++){ for(var u = 0; u<def.rules.length; u++){
if(def.rules[u].name == "marker-file" || def.rules[u].name == "point-file"){ if(def.rules[u].name == "marker-file" || def.rules[u].name == "point-file"){
var value = def.rules[u].value.value[0].value[0].value.value; var value = def.rules[u].value.value[0].value[0].value.value;