This project has moved. For the latest updates, please go here.

How to know Coordinate (X, Y) of GPS data (Longitude, Latitude)

Topics: Algorithms, SharpMap v0.9 / v1.x
Oct 24, 2014 at 8:20 AM
Edited Oct 24, 2014 at 11:50 AM
<<Let me once cancel this question.>>

I want to know which point is double-clicked in the map.

There are some points which are set by Vector Layer in the map.
Each of them have GPS data (Longitude, Latitude).

When mouse double-click is done, I can get Coordinate (X, Y) in the map.
private void mapBox1_MouseDoubleClick(object sender, MouseEventArgs e)
            GeoAPI.Geometries.Coordinate p = mapBox1.Map.ImageToWorld(new PointF(e.X, e.Y));
But in software, I can not recognize whether it has hit the desired GPS point of the layer.

Is there a method that changes a GPS point into the coordinates on a map?

For the error range of the double-click, I will consider separately.