map a key to a point