Modified map to transform coords correctly.