The expression below does not return Funded as a color. It returns the entire string in the map: <CLR red='0' green='169' blue='120'>" +"Funded" + "</CLR . What am I missing. I would like to return different colored labels on the map for each occupancy value. Thoughts?
IF ($feature.Occupancy == 'Funded'){
return "<CLR red='0' green='169' blue='120'>" +"Funded" + "</CLR";}
else if ($feature.Occupancy == 'PartiallyVacantFunded'){
return 'Partially Vacant Funded';}
else if ($feature.Occupancy == 'PartiallyVacantUnfunded'){
return 'Partially Vacant Unfunded';}
else if ($feature.Occupancy == 'VacantUnfunded'){
return 'Vacant Unfunded';}
else {
return 'Unknown';
}