Select to view content in your preferred language

Show Mouse Coordinates

658
1
10-06-2010 12:44 PM
NathalieNeagle
Regular Contributor
Does someone know how or can some one share some code on how to show mouse coordinates on a left mouse button click.  Similar to the example in the SDK but I don't constantly want to show them I want to only show on a mouseclick up or down and call the action with a button.
http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#MouseCoords
0 Kudos
1 Reply
NathalieNeagle
Regular Contributor
Got it, I was trying to change the code behind it was much more simple!
In XAML MouseMove="Map_MouseMove" to MouseLeftButtonUp="Map_MouseMove"
0 Kudos