The Zoomify Image Viewer supports annotating using polygons (open and closed) as well drag-rectangles, and measurement polygons. By default, all edit modes are accessible so there is not need to use the HTML parameters zRectangleVisible, zPolygonVisible, and zMeasureVisible to show the polygon editing mode buttons in the Markup interface.

This example does use the zFreehandVisible, zTextVisible, and zIconVisible parameters - to hide these editing modes and simplify the editing experience. All of these parameters are also useful in the full annotation editing interface.

Tip: to close a polygon, re-click the first control point, or, Alt-click in the image to create a final control point and complete the polygon open while leaving it open (Option-click on Macintosh).