I am creating GMSMapView instance as subview in custom UIView using following code
GMSCameraPosition *camera = [GMSCameraPosition cameraWithLatitude:position.latitude
longitude:position.latitude
zoom:CAMZOOM];
if(camera)
{
self.googleMapView = [GMSMapView mapWithFrame:self.frame camera:camera];
self.googleMapView.myLocationEnabled = YES;
self.googleMapView.delegate=self;
}
I am adding multiple UIbutton and GMSMarker to this view , which are visible without any issue but often I get map draws like below (occurs)
I have button which triggers animation to current location (refer following code), map is drawn without any issue
[self.googleMapView animateToLocation:self.googleMapView.myLocation.coordinate];
Fixed
After I removed view animation (alpha 0.0 to 1.0 with duration 1 sec) , this issue got fixed. Now my map instance loads with flicker but I can live with that.