Added point-mapping code for positioning devices.