That is something that should be settled beforehand. Unfortunately, that doesn't seem to be the case here.
The mapper can claim it is intellectual property and your friend can claim that he paid for a service.
It gets messy in the legal arena at this point (at least in the US)