Added doc for resolution in write_map function