view.on("click", function(event){
view.hitTest(event.screenPoint)
.then(function(response){
if (response.results.length > 0) {
<code>
}
}
});
This piece of code fires when I touch the view.
When the view is zoomed in to a very 'deep' level, sometimes a touch on the screen does not give a hit on the graphic. The user has clicked a little to much to the side or above/under the graphic. Is there a way to expand the 'hit buffer', the area around the graphic where this routine fires?
Thanks