Users can display geographical coordinates on hovering the mouse over the Map control using a TextBox. In this walkthrough, you will learn how to configure the Map control to return the geographical coordinates of the current mouse position. These geographical coordinates will then be written as a string to the Text property of a TextBox control.
To get the geographical coordinates of the current mouse position using the Map control, complete the following steps:
C# |
Copy Code
|
---|---|
private void MouseMoveCoordinates(object sender, MouseEventArgs e) |