FeatureLayer click offset

341
2
01-25-2013 03:54 AM
ab1
by
Occasional Contributor II
Hi,

I'd like to set an offset for the clicks performed on featureLayers that I have on a map. For example, I want clicks performed 5 meters away from features to be considered as clicks on the features.
Is there any option to activate this offset behaviour?

Regards.
Tags (2)
0 Kudos
2 Replies
KenBuja
MVP Esteemed Contributor
Is this using an IdentifyTask? If so, you can use the IdentifyParameters.tolerance parameter. However, this is the distance in screen pixels from the specified geometry within which the identify should be performed.            You would have to determine the conversion from screen distance to ground distance at the different map scales.
0 Kudos
ab1
by
Occasional Contributor II
I'm not using indentify.
I'm using infoWindowRenderer for the featureLayer in question.
0 Kudos