2011-04-28 151 views

回答

1

您可以用緯度/長,像這樣

- (id)initWithLatitude:(CLLocationDegrees)latitude longitude:(CLLocationDegrees)longitude; 

然後可以使用座標屬性來獲取CLLocationCoordinate2D值初始化CLLocation。

+1

嗨感謝發現,我可以通過CLLocationCoordinate2D簡單地將lat long轉換爲clcoordinate2d new_coordinate = {lat,long1};謝謝 – devonsmith 2011-04-29 05:37:04