from itertools import chain
mapa = [[1,2,3,4],[5,6,7,8],[9,10,11,12],[13,14,15,16]]
dicionario_mapa = {posicao+1:valor for posicao, valor in enumerate(chain(*mapa))}
print(dicionario_mapa)
ZnJvbSBpdGVydG9vbHMgaW1wb3J0IGNoYWluCm1hcGEgPSBbWzEsMiwzLDRdLFs1LDYsNyw4XSxbOSwxMCwxMSwxMl0sWzEzLDE0LDE1LDE2XV0KZGljaW9uYXJpb19tYXBhID0ge3Bvc2ljYW8rMTp2YWxvciBmb3IgcG9zaWNhbywgdmFsb3IgaW4gZW51bWVyYXRlKGNoYWluKCptYXBhKSl9CgpwcmludChkaWNpb25hcmlvX21hcGEp
{1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, 10: 10, 11: 11, 12: 12, 13: 13, 14: 14, 15: 15, 16: 16}