Adds example code to demonstrate/test how to use the new map api code.