Select to view content in your preferred language

Go to XY control

999
2
04-01-2011 02:47 AM
AlaaB__Rasheed
Deactivated User
Hello,

I'm trying to develop a control like the one in ArcGIS Desktop that accept XY values and then zoom to the point. XY values might be inserted in different formats, what I could not find is how to convert geographic values to projected in silverlight api. Can anybody help me with that ?

Thanks,
Ala'a B. Rasheed
0 Kudos
2 Replies
DominiqueBroux
Esri Frequent Contributor
The most generic way to project coordinates is using a geometry service. There is a sample here : http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Project

For the frequent case of WebMercator coordinates, you can directly use the class  ESRI.ArcGIS.Client.Projection.WebMercator
0 Kudos
AlaaB__Rasheed
Deactivated User
Thank you dear, this was very helpful.
0 Kudos