J'ai essayé d'ajouter un UIActivityIndicatorView à la vue basée sur google map sdk qui va s'animer pendant le chargement des pins. La carte se charge et les punaises tombent, mais l'indicateur d'activité est masqué, caché ou non inclus. J'ai réussi avec ce même comportement en utilisant la mise en œuvre de la carte basée sur iOS, mais je préfèrerais le faire dans Google Maps si possible. Cela pourrait-il avoir quelque chose à voir avec le comportement du thread?
Merci, resUIActivityIndicatorView invisible dans google maps sdk mapView
//view's .h
//this was created from dragging from the view to the .h file
@property (weak, nonatomic) IBOutlet UIActivityIndicatorView *activityIndicator;
//view's .m
@synthesize activityIndicator;
...
//viewDidLoad calls a function that kicks off the animation
self.view = mapView;
[self.mapView setDelegate:self];
[self.activityIndicator startAnimating];
//later after the final pin is dropped the following is called
[self.activityIndicator stopAnimating];