Jan 25, 2010 at 11:37 AM
Edited Jan 25, 2010 at 1:08 PM
Have been using the VE Map for surface for a little while now. Lot's of fun!
But there is a problem which i have been encountering as well.
When i create a BindingList of SurfaceVEPushPin and bind the using the ItemsSource on the SurfaceeVEMap, the pushpin´s are show nice on the globe at the exact Latitude and Longitude.
Now i want to customize the items with a custom object and using the SurfaceVEMap.ItemTemplate and DataTemplate. The pins are shown, but on the left of the screen and not on the latitude-longitude.
I used the Mole Visualizer to drill into the actual generated Xaml and found out that when i use a ItemTemplate, a ContentPresenter is placed around every SurfaceVEPushpin wich could lead to the misbehaviour of pins on the map.
Anybody familiar with te same problem? And has another solution for this binding issue?