Select to view content in your preferred language

MapClick Event

586
1
07-05-2021 01:52 AM
KafilBaig
Regular Contributor

When we click on map in WebApp Builder the infowindow is triggered. As per my understanding it is the click event on the map which performs the infowindow visibility. Correct me if am wrong.

I wanted to know the map click event in which js file it is in  webapp builder so that on click of map i can open a custom widget.

Appreciate your help

 

 

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus

@KafilBaig,

"As per my understanding it is the click event on the map which performs the infowindow visibility."

Actually No. There is not a map click event that you will find in the code. It is actually built in to the JS API itself. When a map layer has a popupTemplate defined then the API internally handles the map click event.

0 Kudos