jh: fix distance bug
jh: added map to app