Hi,
I'm really struggling with the Silverlight map control and data binding with MVVM.
Is there actually a good way to do this?
So far I have tried:
PointDatasource with a custom MarkerSymbol, could not get properties to custom symbol (i want to forexample show a customername textblock on the symbol, checkboxes with TwoWay binding etc.)
ElemenLayer where i create elements manually (on code-behind), but this way i cant get the items to be on correct position. (My next plan was to set the binding manually on code-behind)
(Somethin like this):
Button pinni = new Button();
Envelope el = new Envelope(Latitude, Longitude, Latitude, Longitude);
pinni.SetValue(ElementLayer.EnvelopeProperty, el);
elementlayer.Children.Add(pinni);
Tried looking at all the samples i could find, but so far haven't found nothing like this. That really supprises me since this should be the "defacto" way to do these things....
Cheers,
Petteri