Export map function

A function to export maps in pdf