If you need to use a raster PNG badge, change the '.svg' to '.png' in the link
modeChange event should only be triggered from hud and only listened to in annotationsLayer. refactoring in annotationsLayer and odd-region-draw-tool. selecting the pointer tool should not automatically cancel an active annotation.
relevant lines covered
hits per line