Hi there,
I was wondering what syntax to use for an onclick button event to disable a hover mouse information tool?
I tried this without any effect:
<div dojoType="dijit.form.Button" id="deactivate" iconClass="deactivateIcon" onClick="queryTask. deactivate(esri.tasks.QueryTask());">Deactivate Mouse Hover</div>
The rest of the code is taken from the hover mouse sample posted on the ESRI samples page.
I have no problem creating onclick buttons to deactivate / disable navigation and draw tools, its the other functions, is '.deactivate' not correct for esri.tasks.QueryTask??