This project is read-only.

coordinate info wrong

Aug 19, 2008 at 2:08 PM
hi,
i using this solution but coordinate info X,Y wrong.

example 29,41 coordinate is turkey istanbul in deepearth,

but 29,41 is sudi arabia in google map, yahoo map, virtual map

thanks,
Aug 29, 2008 at 7:33 PM
I've noticed that the coordinates I'm getting back from mouse interaction with the screen are close, but they are not exact.  So if I add a graphic at the point I click on the screen, the graphic is added to the north and west of the actual mouse click. 

Any Ideas on this - could this be due to the AddPoint.cs Class???   Thanks.
Sep 19, 2008 at 4:34 PM
I notice that if I make the following changes in UpdateElement in AddPoint.cs, the shift is position is corrected.  For now, seems to be working fine; but can't be this simple - have to test it more.

//Canvas.SetLeft(path, pixel.X - 12.5);

 

//Canvas.SetTop(path, pixel.Y - 25);

 

 

Canvas.SetLeft(path, pixel.X);

 

 

Canvas.SetTop(path, pixel.Y);