Mouse Position coordinates

450
1
06-14-2010 02:31 AM
BrianBorg
Emerging Contributor
I have 2 layers:

1 tiled in projection 102100 [WGS_1984_Web_Mercator_Auxiliary_Sphere] and the other in 4326 [GCS_WGS_1984]. I am trying to get the mouse position coordinates in spatial reference 4326 but since one of the layers is tiled it is using the tiled layer spatial reference. Are there any algorithms available to convert between these two projections on the client side?
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor
There are MapPoint extension methods called 'WebMercatorToGeographic' and 'GeographicToWebMercator' defined in the static class ESRI.ArcGIS.Client.Bing.Transform.
0 Kudos