Select to view content in your preferred language

Newbie question by a confused JS developer.  please help...

591
1
11-14-2011 05:44 AM
BrianMunz
New Contributor
Hi Everyone,
I'm very new to ESRI and ArcGIS, and I feel this may be a simple question, but in my research I think the trouble I'm having is that what I need is fairly simple and a lot more than what I need is offered.
Basically, I'm wondering if the following is possible with this API:
I want to be able to highlight certain regions (maybe through a webservice call) and perhaps color the polygons which represent them.  So if we're talking about the United States, it would be great to have the ability to draw a polygon overtop of each state and color it a certain way.  I'm not sure what the real term is for this sort of visualization. 
I've been looking simply for a service where you can send a state and receive a series of longitude and latitude coordinates that I could use to draw the polygon.
Any help would be greatly appreciated.  My head is spinning after visiting several sites which seem to be close to what I need, but it's hard to tell.
Thanks!
0 Kudos
1 Reply
derekswingley1
Deactivated User
I think the unique value renderer sample is exactly what you're looking for. That sample uses a feature layer to grab the state shapes from an ArcGIS Server map service and then uses a renderer to symbolize the states based on their attribute named SUB_REGION.
0 Kudos