1
Answer

GMap.Net C# show coordinates when i move over the map

David Castro

David Castro

8y
329
1
 As simple one is to have the following code in the MouseMove event GmapControl
 
private void map_MouseMove(object sender, MouseEventArgs e)
{
      base.OnMouseMove(e);
      PointLatLng p = map.FromLocalToLatLng(e.X, e.Y);
      label1.Text = Convert.ToString(p);
}
Answers (1)