changing markers color in certain location

Discussion created by cdrex on Jun 7, 2013
Latest reply on Jun 9, 2013 by cdrex

i create webmap with testing 1000 markers on it. Markers are in whole United Kingdom. I am using ArcGIS javascript API to interact with map:

Now i want programmatically change the color of markers in an active location eg. London. Cities are stored in the cloud DB.
Could you please help me? i am stuck, because i am unable to get selection of markers by query.

Thanks for reply