Fix missing map attribute in example

Fixes #1