marker img screen coordinates

Topics: General
Sep 26, 2012 at 5:11 PM

Hello all.

Is there any posible way to take marker screen coordinates? I need to programmatically move mouse cursor to marker, but i don't know screen coordinates of it.

Any ideas?

Sep 27, 2012 at 6:04 PM


var l = MainMap.FromLatLngToLocal(currentMarker.Position);
var screenPoint = MainMap.PointToScreen(new Point((int) l.X, (int) l.Y));
Cursor.Position = new Point((int) screenPoint.X, (int) screenPoint.Y);

Oct 6, 2012 at 12:55 PM

thanks a lot)