如何在目标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;