graphicsLayer on click tolerance

765
2
Jump to solution
10-11-2017 10:22 AM
TylerWaring
Occasional Contributor II

I'd like to create spoof a tolerance for the graphicsLayer clicke event. I'd like to create something like the IdentifyParameter tolerance property so someone does not have to click a graphic's geometry exactly to fire the click event. Is there a way to spoof a tolerance for the graphicsLayer's click event? 


Thanks, Tyler 

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Tyler,

   I have not seen a way to do this but the click event is fired from the symbol that is used for the graphic. You can use a larger symbol for the graphic.

View solution in original post

2 Replies
RobertScheitlin__GISP
MVP Emeritus

Tyler,

   I have not seen a way to do this but the click event is fired from the symbol that is used for the graphic. You can use a larger symbol for the graphic.

MirHashmi
Occasional Contributor

This technique would be useful if the graphic features are sparsely spread across the map view. In case of denser graphics then the larger symbols would overlap others. 

0 Kudos