AnsweredAssumed Answered

How do you get default "onclick" behavior from the map object using webappbuilder?  Currently i'm using the main.js file to hook up the events.

Question asked by Knoche on Jul 29, 2016
Latest reply on Jul 29, 2016 by rscheitlin

I have built sites before using the JS API but am new to webappbuilder.

 

I'm having difficulty finding any documentation on how to set up the "onClick" behavior of the map object.  Currently i'm using something like this :

 

clickeventhandler = dojo.connect(this.map, "onclick", function (evt)

         {

             alert("map clicked");

         });

Outcomes