Hello all,
I am trying to make a selection box based on SharpMap control. By searching for past discussion, I think I need to do is to create a starting point in MouseDown event and create a rectangle, What I am trying to do for clicking point is:
SharpMap.Geometry.Point P1 = mapBox1.Map.ImageToWorld(p1);
but I found the SharpMap.Geometry.Point is disappeared, I tried
GeoAPI.Geometry.Coordinate P1 = mapBox1.Map.ImageToWorld(p1);
and
NetTopologySuite.Geometries.Point P1 = mapBox1.Map.ImageToWorld(p1);
for the first one, it cannot implement P1 < P2 which I need to work on in later comparsion, and the second one does not work actually... Any guidance! Thanks in advance!
