The zoomTool component shows a set of buttons. Each button corresponds to a zoom level; clicking the button will zoom the view to this zoom level. The button corresponding to the current zoom level is displayed differently from the other buttons so that you can tell what the current zoom level is. The component can be vertical or horizontal.
The panTool component is a component that allows you to pan the view in all directions.
The connection to the view is made by setting the identifier of the view to the viewId property of the tools.
<jvf:view id="view" [...] />
<jvf:panTool viewId="view" [...] />
<jvf:zoomTool viewId="view" [...] />
|