如何显示在谷歌地图在我现在的位置? [英] how to show the my current location in the Google Map?
本文介绍了如何显示在谷歌地图在我现在的位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我要显示在谷歌地图我现在的位置。应当未来动态即经纬度应动态地设置。
I want to show my current location in google map. it should be coming dynamically i.e. longitute and latitude should be set dynamically.
一样,如果我现在在新德里,如果我开始我的Android应用程序,我目前的位置应该在新德里表示,它应该,如果我前往其他城市的改变。
Like if now I am in New Delhi , and if I start my android application,my current location should be shown in New Delhi and it should change if I travel to other cities.
推荐答案
获取当前位置 <一href="http://stackoverflow.com/questions/3145089/what-is-the-simplest-and-most-robust-way-to-get-the-users-current-location-in-an/3145655#3145655">What是获得在Android的用户的当前位置,最简单,最可靠的方法?
和传递价值的谷歌地图API。
and pass that value to google map api.
这篇关于如何显示在谷歌地图在我现在的位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文