Select to view content in your preferred language

how to intersect a drawn polygon with other layers?

774
1
10-19-2010 09:12 PM
DanDong
Deactivated User
Hi all,

I draw a polygon on a graphics layer. There are also other layers in the map, for example "county". I want to know which counties in the "county" layer are cut by this polygon (counties c an intersect with the the polygon since the counties are also polygons, or they can be contained in the polygon). I search for solution in API, but cant find it. I really appreciate that you can give me some information or suggestion to solve this. 🙂
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
Look at the Utilities section in the SDK.

This example might be useful:
http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Relation

Or you can also use the Editor to create Select buttons as in this sample:
http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#FeatureLayerSelection
0 Kudos