I have a map, and have a SelectionLayer defined. I wish to build up a MapPolyline as the user clicks on the map
I do the following
private void AddSelectShape(Location location)
MapPolyline polyline = (MapPolyline)SelectionLayer.Items;
polyline.ToolTip = polyline.Points.Count;
sender, EventArgs e)
MapPolyline polyline =
I have to call ArrangeItem otherwise I need to zoom the map a little to start the polyline being displayed.
The problem is that when I have 3 points, it does not draw the correct triangle, and only sorts itself out once I add a 4th point. Is there something else that I need to do?