A sample compass extension to show you how to do it yourself.