本文介绍了如何在目标C中使用该位置的经度和纬度查看谷歌地图中的当前位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经读过经度& obj-c中当前位置的纬度。现在,如何使用该位置的经度和纬度查看Google地图中的当前位置?
I have read the longitude & latitude of the current location in obj-c. Now, how can I view the current location in the Google map, using that locations's longitude and latitude?
任何人都可以给我一些示例代码来帮助我做到这一点吗?
Can anyone give me some example code which helps me to do this?
推荐答案
您不需要使用经度&显示用户位置的当前位置的纬度。
以下行会这样做。
You don't need to use longitude & latitude of the current location to show user location.The following line will do so.
mapView.showsUserLocation = YES;
这篇关于如何在目标C中使用该位置的经度和纬度查看谷歌地图中的当前位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!