Canvas Annotations

Keith Vetter 2009-04-15: Here's a package that lets you put annotations onto a canvas. I wrote this for an mapping application to allow users to mark key spots on the map.

The annotation is drawn like a cartoon speech bubble--a rectangular box with rounded corners and visible connection to the anchor point.

These annotations, once positioned, can be moved anywhere just by dragging them around the screen, all the while staying linked to its anchor. If you grab on the arrow part then the whole annotation gets moved.