WPF how add marker and clear marker?

Topics: WPF
Sep 20, 2012 at 4:10 AM
Edited Sep 20, 2012 at 4:11 AM

How can I add marker into gmap in WPF?

This is how I did it in winforms:

marker = new GMapOverlay(gMapLocation, "marker" 
new GMapMarkerGoogleRed(new PointLatLng 
(Lat, Lng))); 

To clear the marker:


Sep 20, 2012 at 7:24 AM


Sep 20, 2012 at 8:39 AM

Any place I can refer to add GMapMarkerGoogleRed to the map for wpf?

Sep 20, 2012 at 8:56 AM

there is no such marker in wpf, but any UIElement can be it, just add the image, use it as the shape

Sep 20, 2012 at 9:02 AM

I thought there is comething like GMapMarker?

Sep 20, 2012 at 10:36 AM

Now there is a default + sign on the location. How can I change it to GMapMarkerGoogleRed?

Please help.

Sep 20, 2012 at 12:13 PM

map.ShowCenter = false;

and render your own ;}