A lot of code isn't needed to add a custom annotation. See the sample code here