sasa lazic

sasa lazic

  • NA
  • 104
  • 50.1k

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

Nov 21 2013 2:33 PM
Hello everyone, 

I try to use GMap.Net.WindowsForm in my app.
I have a problem I do not know how to fix it. 
Here's part of my code 
 protected override void OnMouseMove ( System.Windows.Forms.MouseEventArgs e ) 
        { 
            base.OnMouseMove ( e ) ; 
            PointLatLng p = gMapControl1.FromLocalToLatLng ( eX , eY ) ; 
            label1.Text = Convert.ToString ( p ) ; 
        } 
When you hover mouse over the map does not change coordinates , but when I move mouse over winform have change coordinates . 

can you help me 
thanks in advance

Answers (1)