Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
460
GeographicShapeSeries Markertemplate add textblock
posted

I have this GeographicShapeSeries component and I would like the add a TextBlock to the DataTemplate but I'm getting a cast exception when I try 

GeographicShapeSeries series = new GeographicShapeSeries()
{
ItemsSource = data,
MarkerTemplate = new DataTemplate(),
ShapeMemberPath = "Points",
Brush = brush,
BorderBrush = Brushes.MediumBlue,
ToolTip = "DæknigsGrad " + s.properties.maxDaekningTal + " PostBy " + s.properties.POSTBYNAVN + " Post nr " + s.properties.POSTNR_TXT

};