uses proper equality checks
This commit is contained in:
parent
d2a557acd9
commit
981e117731
@ -203,7 +203,7 @@ CartoCSS.prototype = {
|
|||||||
symbolizers: []
|
symbolizers: []
|
||||||
});
|
});
|
||||||
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;
|
||||||
this.imageURLs.push(value);
|
this.imageURLs.push(value);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user