Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Binding Pins on Map view to Collection

$
0
0

Hi All,

I have a solution where I have the need for a Map view. I've got this set up without issue. Now I would like to show a collection of items with location information in my viewmodel as pins on the map. I can do this by manually looping through the collection and adding pins, but obviously this would not detect changes to the collection in the viewmodel automatically.

Binding the collection to the Pins list seems like a good idea and I've setup a small test solution (iOS only, to not have to deal with Google Maps keys) and all builds, but no pins show up.

Probably I'm missing something simple, but I don't see it. Can anyone have a look at the attached solution and see where I'm going wrong or tell me if this is at all possible?

Thanks,
Robert


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>