Sometimes you want to add dynamic design elements to your Seadragon image. The Seadragon Ajax Library allows you to create overlays that stick to the image as it pans, which can either scale to match the zoom or remain a constant size. This example shows you how to add scaling and non-scaling overlays. For more information about the coordinates used, see our
coordinate system page.
Note that an overlay cannot be added until the image is open and you've received its open event.
Example