Added map export

Signed-off-by: Nicholas Jackson <nic@thatlondon.com>