Make location global and diaplay distance

1. 使位置信息可全局获取
2. 显示距离