سؤال

Is it possible to select all markers at a time to show all info windows? This is what I tried but it just selects the last object in the array..

If not possible, what is the alternative?

for (GMSMarker *marker in markersArr) 
        [self.mapView setSelectedMarker:marker];

PS: I am using Google Maps SDK for iOS version: 1.7.2.7908

Thanks in advance

هل كانت مفيدة؟

المحلول

I think you can only display one info window at a time.

An alternative might be to use custom markers, which contain both the marker and the info window (which you'd need to render yourself into the marker image).

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top