jhouck86

Make Measure Widget Temporarily Disable other map.on("click") events?

Discussion created by jhouck86 on Feb 11, 2014
Latest reply on Feb 13, 2014 by LuciH
Hi everyone,

Is there a good way to temporarily disable my other map.on("click") events when one of the functions of the dijit measure widget is active? 

The default behavior of my application is to do an identify on click, and I've got some marquee select tools working in conjunction with the draw toolbar, but for some reason when the measure area tool is active, for example, it tries to fire my identify at the same time, which cancels out of the measure tool. 

Is it possible to assign a map.on event to a variable and set it to false? I also noticed there's no measure-start event on the widget.

Any help would be greatly appreciated, thank you!

Jon

Outcomes