AnsweredAssumed Answered

Custom Symbology Using Renderers and Feature Sets

Question asked by DanielTrone on Apr 16, 2013
Latest reply on Apr 17, 2013 by DSwingley-esristaff
I have a working application here:

I'm using the Javascript API with ArcGIS Online. I have a bunch of layers loaded and pre-symbolized in an AGOL 'Web Map'.

I'd like to be able to customize the symbology of each layer dynamically using javascript. I'd ideally like to use a renderer and be able to create a different symbology for each demographic variable.

I've run into a major brick wall. To be able to change the symbology, I need to be able to iterate through graphics in a feature set - yet I have no idea where to get a feature set object from. All the examples I see use 'Feature Layers' loaded through URLs.

Can anyone provide guidance or show me some good example code?