I want the google maps to be displayed in only half of the screen and there are other items to be displayed in other half of the screen. So, I have divided the iPhone screen into two UIViews, mapView and detailView. When i try to have the google map inside mapView, it gives blank screen. Whereas It display map in the whole screen when it is assigned to self.view as follow.
doesn't show in mapView
GMSCameraPosition *camera = [GMSCameraPosition cameraWithLatitude:-33.86
longitude:151.20
zoom:6];
GMSMapView *mapView_ = [GMSMapView mapWithFrame:CGRectZero camera:camera];
mapView_.myLocationEnabled = YES;
self.mapView = mapView_; //Doesn't work
// Creates a marker in the center of the map.
GMSMarker *marker = [[GMSMarker alloc] init];
marker.position = CLLocationCoordinate2DMake(-33.86, 151.20);
marker.title = @"Sydney";
marker.snippet = @"Australia";
marker.map = mapView_;