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
just wondering what your Point geoPoint = getMapCoordinateByClickPoint(newPoint); code was...
having troubles converting mouse cooridates back to a more usefull lat long cooridinates on the map
thanks
Hi VipSoftware,
The overlapping of the layers is controlled by the order they are defined in - the last layer defined in xaml is the top most one visible on the map.
Best Regards,Milana Zhileva
I have a very important question:
I managed to draw polyline on a new layer, but if I have other layers with polygons (from a database) they are hiding my drawLayer so I don't see what I am drawing. Can I put the drawLayer to be on the top so I can see what I am drawing ?
I am using the trial version and I want to be sure that Your product is good enough. With two words my purchase is depending on this answer.
I am trying to recreate the DeepEarth Digitizer. When I draw some points (no matter how many) and when I zoom, I see the PathElement about a second and it disappears.So I think my problem is about rendering the element or the visibility of the layer.
Here you can take a look on the DigitizerExample.
I decided to test your example from this link but nothing happened.
I see no line. I use the "drawLayer".
I am trying this on WPF not Silverlight, but I think the data visualization is the same.