WPF wrong marker position

Topics: General
Oct 28, 2012 at 4: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.



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;


Thank you.

Oct 28, 2012 at 5:07 PM

adjust the offset