0
這組地圖位置是我走的是當前位置如何從任何城市或地名
NSString* lat = [[NSString alloc]initWithFormat:@"%f",locationManager.location.coordinate.latitude];
NSString* lon = [[NSString alloc]initWithFormat:@"%f",locationManager.location.coordinate.longitude];
NSString *URL = [NSString stringWithFormat:@"http://maps.google.com/maps/geo?q=%@,%@&output=csv&sensor=false",lat,lon];
NSURLRequest *rq = [NSURLRequest requestWithURL:[NSURL URLWithString:URL]];
con = [[NSURLConnection alloc] initWithRequest:rq delegate:self];
webData = [[NSMutableData data] retain];
,並在連接委託方法我得到的當前位置的名稱的方式。 200,9,「IITI計算機教育,Wadala,孟買,馬哈拉施特拉邦400067,印度」在模擬器中。
現在我的問題是我們如何在地圖上的同一個地方使用我之前得到的字符串地名來設置註釋。提前
感謝