This page contains an example of the panZoomSynchronizer. Left mouse button to pan, right mouse button to zoom, mouse wheel to zoom.