What is this..?

The map light switch controlled the dome light and/or the courtesy lights under the dash. Same as when you open the door. It’s a ground controlled circuit with a fused constant hot. So if you leave it out make sure to not leave a hot wire just dangling.