query activation with a button

Discussion created by notoole11 on Dec 7, 2010
Latest reply on Dec 17, 2010 by hzhu

How do I add a button to my javascript api website, that when the user clicks it, the query functionality is activated, and the user can click on a polygon to retrieve a list of results. I already know how to create the query functionality, but just not how to activate it with a button.

Help please!