GPS (lat lng) point from Map.ImageToWorld

Topics: SharpMap Project, SharpMap v0.9 / v1.x
May 12, 2015 at 10:28 AM
Hello all,

How I can get GPS coordinates from click on a map?
var p = mapImage1.Map.ImageToWorld(e.Location);

GeoAPI.Geometries.Coordinate Coordinate = ????
thanks
Coordinator
May 12, 2015 at 11:33 AM
You need to set up a coordinate transformation from your map's spatial reference to wgs84.
You can read in the HowTo section of the documentation tab what you need to do.
May 12, 2015 at 1:29 PM
I found, thanks