我正在使用新的 iOS 版 Google 地图 SDK
我可以从 GMSMapView.center 获取真实坐标吗?
现在它返回一个 CGPoint 的值,但它不是真正的坐标。
感谢和问候。
Use the projection
method - (CLLocationCoordinate2D)coordinateForPoint:(CGPoint)point
地图视图将地图中的点转换为地质坐标
CGPoint point = mapView.center;
CLLocationCoordinate2D coor = [mapView.projection coordinateForPoint:point];
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)