Hi, new esri developer here, need some help implementing a feature. I want to only display a map inside a given polygon and not allow map clicks or display of map data outside this polygon. Any ideas?
Thank you Robert - this is almost there and part of what I want to do. The other part is I would like to display only the polygon like you do on your site where you display only Calhoun County.
Let me add a little detail of what I have tried so far.
First of all the polygon is derived from several other polygon and merged together to make one polygon. With this approach I am not quite there because the resultant polygon does not encompass all the features in the area... I can work on resolving that later.
I am able to shade the resultant polygon - thats a good thing, however I want the opposite. I would like to shade everything but the resultant polygon.
Will I have to create work outside of flex to accomplish this or is this something I can acomplish within flex.
Thank you for your prompt reply - looks like I will have to settle with highlighting the polygon. One more question - Is there a correct way to combine polygons where it ends up looking like one continuous polygon instead of broken when there is a river or a rail road?
No, actually I was doing it in mxml by querying the cached map server for the selected features I wanted and taking the feature set that was returned and adding each feature ring that was returned to the polygon.