Select to view content in your preferred language

IdentifyParameters with tolerance of 0

743
2
04-06-2010 08:26 AM
EricRussell
Emerging Contributor
When I set the tolerance of an IdentifyParameters object to zero, the IdentifyTask omits the tolerance query parameter to the REST service, which causes it to return an error. I'm using agslib-1.3-2009-10-31.swc. Is this fixed in 2.0?
Tags (2)
0 Kudos
2 Replies
DasaPaddock
Esri Regular Contributor
Yes, this bug will be fixed in the next 2.0 Beta update.

You can workaround this bug by adding the tolerance parameter to the url you set on the IdentifyTask like this:

http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StatesCitiesRivers_USA/Map...
0 Kudos
EricRussell
Emerging Contributor
Thanks for the work-around!
0 Kudos