0
現在のシナリオ Googleマップに関するソリューションが必要です。現在、私はurlとsdkの両方でGoogleマップを開くことができます。私はGoogleマップのマーカーにタイトルを設定したいブラウザ。Googleマップ上のマーカータイトル
NSString *url = [[NSString alloc]initWithFormat:@"http://maps.googleapis.com/maps/api/geocode/xml?address=%@+%@+%@",road_Str,pin_Str,city_Str];
NSLog(@"str%@",url);
CLLocationCoordinate2D rdOfficeLocation = CLLocationCoordinate2DMake([[latArr objectAtIndex:0] doubleValue], [[lngArr objectAtIndex:0] doubleValue]);
NSString *str = [NSString stringWithFormat:@"comgooglemaps://?q=%@,%@,%@¢er=%f,%f",road_Str,city_Str,pin_Str,rdOfficeLocation.latitude,rdOfficeLocation.longitude];
NSURL *url = [NSURL URLWithString:str];
ありがとうSuraj、しかし、私はブラウザのURLでそれを行う必要があります私はGoogleのAPIを意味します。 – Neha
あなたのコードマーカーでは、指定されたmapView_にブラウザマップ上にプロットされません – Neha
ああ...あなたのポイントを正確に取得しました...ここで読んでください:https://developers.google.com/maps/documentation/static-maps /イントロ –