This example shows how to create custom controls.
This example creates a "rotate to north" button. See the custom-controls.js source to see how this is done.