Hi,
I ​have loaded multiple polygons from SQL on a bing map and have a context menu for the polygons on the information layer.
However, I cant find any way to bind and get the unique id of the clicked polygon.
<telerik:InformationLayer x:Name="infoLayer" > <telerik:InformationLayer.Reader> <telerik:SqlGeospatialDataReader Source="{Binding SpatialData}" x:Name="Data" GeospatialPropertyName="Polygon" ToolTipTemplate="{StaticResource ToolTipDataTemplate}" /> </telerik:InformationLayer.Reader> <telerik:InformationLayer.ContextMenu> <ContextMenu x:Name="PolygonMenu"> <MenuItem Header="Menu Item 1" Command="{Binding Path=PolygonSelectedCommand}" CommandParameter="{Binding ElementName=infoLayer,Path=????}"/> </ContextMenu> </telerik:InformationLayer.ContextMenu> <telerik:InformationLayer.ShapeFill> <telerik:MapShapeFill Fill="Transparent" Stroke="Red" StrokeThickness="1" /> </telerik:InformationLayer.ShapeFill> <telerik:InformationLayer.HighlightFill> <telerik:MapShapeFill Fill="#b2FFFFFF" Stroke="Red" StrokeThickness="1" /> </telerik:InformationLayer.HighlightFill> </telerik:InformationLayer>Thanks,