WPF wrong marker position

Topics: General
Oct 28, 2012 at 3:09 PM

I am using WPF, I have follow the sample to create a marker, but the position of the marker is incorrect, it is not on the + sign.

 

Code:

GMapMarker currentMarker = new GMapMarker(GeoMap.Position);
{
 currentMarker.Shape = new CustomMarkerRed(this, currentMarker, "you are here");
currentMarker.Offset = new Point(-15, -15);
currentMarker.ZIndex = int.MaxValue;
GeoMap.Markers.Add(currentMarker);
}

 

Thank you.

Coordinator
Oct 28, 2012 at 4:07 PM

adjust the offset