Hi santoshf2,Which kind of projection are you using ? If you are using the "standard" projection of ArcGIS Server, the map is in WebMercator format.If you want to have a projection similar as Google or Bings, you must convert this format into WGS 84.There is a class on API to help you to make the convertion. See what I have do on my project : [PHP] private WebMercator webMercator = new WebMercator(); private void OnMapMouseMove(object sender, MouseEventArgs e) { if (Map == null) { return; } Point screenPoint = e.GetPosition(Map); MapPoint webMercatorMapPoint = Map.ScreenToMap(screenPoint); if (webMercatorMapPoint != null) { MapPoint wsg86MapPoint = (MapPoint)webMercator.ToGeographic(webMercatorMapPoint); Y = wsg86MapPoint.Y; // latitude in decimal X = wsg86MapPoint.X; // longitude in decimal } }[/PHP]If you wanted to show this result into degree/minute/second, you may easily find the good formula on google.RegardsJérôme
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.