title: How to bind multiple (n) polygons to Bing Map controls
body: <p>I want the ability to bind a collection of LocationCollection instances to Bing Maps control in WP7 (Silverlight). I'm able to bind a single instance of a polygon using the following XAML:</p>
  
  <pre><code>&lt;Microsoft_Phone_Controls_Maps:MapLayer.Children&gt;
  
      &lt;Microsoft_Phone_Controls_Maps:MapPolygon Locations="{Binding Polygon}"
                                                            Fill="{StaticResource PolygonFillBrush}"
                                                             Stroke="{StaticResource PolygonStrokeBrush}"
                                                             StrokeThickness="4"
                                                             Opacity="1"&gt;
      &lt;/Microsoft_Phone_Controls_Maps:MapPolygon&gt;
  
  &lt;/Microsoft_Phone_Controls_Maps:MapLayer.Children&gt;
  </code></pre>
  
  <p>This has bound a single LocationCollection using the Polygon property on the ViewModel. I want to be able to bind an ObservableCollection to the MapLayer so I can draw as many polygons as is required.</p>
  
  <p>I can do this in code (code-behind) but I would prefer to declare this in XAML, is this possible?</p>