Then the result is displayed and I have an info window enabled, which also opens when clicked, although not specified directly by onclick:
var template = new InfoTemplate(); template.setTitle(getTitleInformation); resultLayer.setInfoTemplate(template);
The problem is that whenever the user clicks on an info window, also the onclick event of the map is fired and the geoprocessing starts again. It would be great, if the onclick event could recognize, if the info window is clicked or somewhere on the map and only then fire.
Any solution how to deal with that?
This question is linked to this topic: ArcGIS API - Creating Popups for Geoprocessing Result