Map now supports the distance unit preference correctly.  Changed
bearing and distanceTo so they are integers.