Fix map example. Closes #37.