AnsweredAssumed Answered

How to do labelling with AGSUniqueValueRenderer?

Question asked by s26761 on Mar 9, 2012
Latest reply on Mar 13, 2012 by dking-esristaff
Hello

I can set labelling in AGSSimpleRenderer as follows:

AGSCompositeSymbol *composite = [AGSCompositeSymbol compositeSymbol];
AGSTextSymbol *textSymbol = [AGSTextSymbol textSymbolWithTextTemplate:@"${pointID}" color:[UIColor redColor]];
[composite.symbols addObject:textSymbol];
AGSSimpleRenderer *renderer = [AGSSimpleRenderer simpleRendererWithSymbol:composite];

However, I've a problem to do likewise with AGSUniqueValueRenderer. Any clue on how to do it?

Thanks.

Rgds
Ong CF

Outcomes