AnsweredAssumed Answered

Get mouse click to recognize jobID on map

Question asked by mshah12 on Apr 9, 2018
Latest reply on Apr 10, 2018 by kenbuja



I am working with a WAB template. I have a basemap that I put a layer on top of. When this layer shows up on top, it shows small squares + a jobID on top that marks the jobs that have been created through the application for that part of the world. Currently if I click on a jobID or in the square that marks the area pertaining to the jobID, all the application does is zoom in. I am trying to get it so when I click on the jobID or within the area of the job, the application can alert me of the id. I have tried to use the "On" feature of dojo/on but that is not working for me. 


Does anyone have experience doing this?