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

positioning multiple elements per MapItemsControl.ItemsSource entry

Jan 25, 2015 at 10:13 AM
Hi Clemens,

it goes without saying that your control and code is first-class!

I have zones, which consist of a MapPolyline, a Label/Pushpin (positioned extra with it's own MapPanel.Location) and for each Location of the MapPolyline, I also place an anchor which can be dragged to alter the zone's dimension and position.

For each zone these elements represent a logical group of controls.

Would it be clean to use a Panel in the root of the DataTemplate? I suspect that these sub-children are not auto-positioned so where would be a good hook for that? Should I subclass Panel and use the map's MapTransform to place all children myself?

any thoughts would be greatly apprechiated!