Hello,
I have some trouble to get the correct coordinates when I use the virtual earth layer.
I use this code to do it :
private void winformsMap1_MouseMove(object sender, MouseEventArgs e) {
PointShape currentWorldCoordonate = ExtentHelper.ToWorldCoordinate(winformsMap1.CurrentExtent, e.X, e.Y, winformsMap1.Width, winformsMap1.Height);
......
......
}
When I use it on the sample shapefile "Countries02.shp", it works great. I've got values between 80N/80S & 180E/180W.
But when I use the VE layer, the values aren't correct.
How can I get the right coordinates ?
Thanks.