Print function to print out only the vector

I hide the map layer and print out the functions in the div.

Only chrome has builtin "save as pdf" funciton, the other browsers will
have to install plugins that will support that feature.