This project has moved and is read-only. For the latest updates, please go here.

About Map


I am binding a ObservableCollection with pushpin in ViewModel like this: this.AllePushpin.ItemsSource = mv.Threater; when I remove one item from the collection, but the corresponding item in UI still is there, it seems the collecction changes don't notify UI to change? why? I checked the source code in WP toolkit:public MapChildCollection Items { get; private set; }, it is readonly, is there anyone can help me to figure this out? thanks.the same problem here:


devionics wrote Feb 14, 2013 at 9:06 PM

It seems that Databinding doesn't work for the MapItemsControl at all.

wrote Feb 22, 2013 at 1:50 AM

wrote Mar 24, 2013 at 12:58 PM

lazythruten wrote Mar 24, 2013 at 1:01 PM

please fix MapItemsControl.ItemsSourse binding ASAP. It dos not work

wrote Jun 13, 2013 at 9:39 AM

mehtaavi wrote Jun 13, 2013 at 9:41 AM

+1 to other comments on the thread. When I remove items from the original array that I assigned to ItemsSource, the map does not get updated.

wrote Jul 5, 2013 at 3:41 PM

wrote Jul 16, 2013 at 6:38 PM

kjschaef wrote Aug 6, 2013 at 4:06 PM

+1 - MapItemsControl is not bindable from XAML, which prevents being able to use this in an MVVM app.

wrote Aug 23, 2013 at 2:51 AM

ScRePt wrote Oct 3, 2013 at 2:38 PM


Specially this brilliant line of code does not allow us to give the control a name:

public static readonly DependencyProperty NameProperty = DependencyProperty.Register(

Why a property named NameProperty be registered as "ItemTemplate" ??

wrote Oct 3, 2013 at 2:38 PM

wrote Feb 25, 2014 at 11:51 AM

wrote Mar 4, 2014 at 1:46 PM

Kinnara wrote Mar 4, 2014 at 2:58 PM

To fix MapItemsControl.ItemsSourse binding: in MapExtensions.cs, replace ObservableCollection with DependencyObjectCollection. Or use this fork.