Closed mkopljar closed 5 years ago
Maybe you're from Xamarin.Forms.GoogleMaps.Bindings.
Xamarin.Forms.GoogleMaps is simply wrapper of Google Maps SDK for Android.
Map.Pins.Add
calls GoogleMap.addMarker directly.
This means, if you feel slowly for adding pin then it is Google Maps SDK for Android's limitation.
I'm not sure to how to improve speed.
I supported ItemsSource/ItemTemplate for Xamarin.Forms.GoogleMaps.
SUMMARY
Adding many pins individually to a map takes a long time because of ObservableCollection.Add method is a bottleneck.
Is there a way to improve ?
Suggestions: can pin source be anything else but ObservableCollection ? Say, List ?
Can bindings be enforced in ViewModel ?
DETAILS
PLATFORMS