マップの焦点を合わせたい緯度と経度の座標があります。それらはNSStringとして保存され、以下の場所に変換されます。
NSString *placeLatitude = [elementCoords objectForKey:@"placeLatitude"];
NSString *placeLongitude = [elementCoords objectForKey:@"placeLongitude"];
CLLocationCoordinate2D location;
location.latitude = [placeLatitude doubleValue];
location.longitude = [placeLongitude doubleValue];
ユーザーの現在の場所ではなく、上記で指定した緯度と経度に焦点を合わせるように、以下を変更するにはどうすればよいですか?
MKCoordinateRegion mapRegion;
mapRegion.center = mapView.userLocation.coordinate;
mapRegion.span.latitudeDelta = 0.05;
mapRegion.span.longitudeDelta = 0.05;