Does anyone know how to wire up a dojo button (or toggle button) in a toolbar to a mouse click event on the map?
I want the user to have to select a tool/button before clicking on the map and NOT just have the map listen to any old mouse click event as this is too open i.e. I want to constrain the functionality to the selecting a tool from the UI.
Many thanks