Add sample code for maps