Select to view content in your preferred language

how to set tolerance for Select feature graphic in editing?

1107
1
12-21-2010 08:00 AM
XiujuZhou
Emerging Contributor
I have a ArcGIS API for silverlight 2 application and need to set tolerance for "Select" function in editwiget to select a feature graphic in editing. after user click select image button on the editwiget, then click a polyline feature graphic of an editing layer on the screen, the graphic is so hard to be selected and hilighted. Also, the same problem is happened to MapTip. I think it is a tolerance issue. Is there any way to set the tolerance for selecting feature?
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
The MouseLeftButtonDown event used for selecting graphics, need to touch the actual graphic. If you want to apply tolerance to the selection. You can use FindGraphicsInHostCoordinates such as in this sample http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#InfoWindowSimple (see the MouseClick event).
0 Kudos