none
MapPolyline data binding RRS feed

  • Question

  • I get the following runtime error trying to data bind a LocationCollection the locations property of a MapPolyline. Am I doing something wrong?

    Failed to assign to property 'Bing.Maps.MapMultiPoint.Locations'.

            <bm:Map x:Name="myMap">
                <bm:Map.ShapeLayers>
                    <bm:MapShapeLayer>
                        <bm:MapShapeLayer.Shapes>
                            <bm:MapPolyline Width="7" Locations="{Binding Breadcrumbs, Mode=OneWay}"/>
                        </bm:MapShapeLayer.Shapes>
                    </bm:MapShapeLayer>
                </bm:Map.ShapeLayers>
            </bm:Map>
    

    Monday, April 2, 2012 3:31 AM

Answers

  • It does not currently work. I have entered a bug on this. Thanks for reporting it to us.
    • Marked as answer by jcsharp Tuesday, April 17, 2012 11:29 PM
    Thursday, April 12, 2012 11:25 PM