He is my problem,
var tb = new Draw(map);
tb.on("draw-end", lang.hitch(map, getAreaAndLength));
How can I later deactivate this handler ?
I wante something like : tb.on("draw-end").set(null) ??
This is because I have to switch between two handlers,
IF set directely the second handler it still call the first
so finally , it calls the two handlers.