Does anyone know where the map click handler lives in the WAB code?
I need to interrupt it before it completes its default behavior of identifying features in operational layers.
Thanks
Keith
While I'm sure there is some user crossover between the two places, you should post this question over in the Web AappBuilder Space as well.
Semantics..."If true and a map click event occurs, it may show the map's infoWindow."
true
The map is still raising a click event, even if the configurable method is what is actually doing work.
Doesn't seem to matter if I change all of the setInfoWindowOnClick references to false. It still appears, but since it only works when layers have an infoTemplate, removing the popup in the AGO map solves the problem.
Keith,
it is not the map that has a click event. The API itself handles the showing of popups for layers that have popups defined. the map has a setInfoWindowOnClick method.
Map | API Reference | ArcGIS API for JavaScript | setInfoWindowOnClick
But there is no map click handler set on a WAB map in the code.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.