Display result in different color

491
1
04-25-2011 07:55 PM
SpencerTrevor
New Contributor
Good day is there a way or a code how display a query result base on a different color.

Thank you in advance
0 Kudos
1 Reply
ThaoLe
by
New Contributor III
Can you explain what you want to do? Do you want to get the results of a query and show the geometry as a different color?

You can set the symbology of the graphic and use a different color being adding the graphic to the graphicslayer.

http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi_start.htm#jsapi/graphic.htm#setSymbol
0 Kudos