Since 19w39a, when holding a map and looking at it in first-person mode, the texture does display transparent pixels as black. This happens for holding it in the main hand, or in the offhand.
MC-161996 Problem with item Map
MC-162235 Black border when holding map.
MC-162258 Maps held in first-person have dark textures