export_gmap. TODO: more examples for exporting gmap