Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
Draw Polygon
posted

Is there a simple way to draw a PolyLine ? I am trying to do this within these event handlers but it doesn't work:

private void xamMap_MapMouseMove(object sender, MapMouseEventArgs e)

private void xamMap_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e)

 

Programatically it works. I mean that the PolyLine object is filling with the new coordinates and then I close it to become a Polygon, but I can't see it visually