Hi, i'm currently trying to implement a GIS web application (asp) using SharpMap. One of the layers used consists of points. I've manage to display my points using:
layCities.Style.Symbol = new Bitmap(@"C:\pic2.jpg"); and so far so good.
However, now i'm facing problems when it comes to the action listener part. this is what i have written so far:
protected void imgMap_Click(object sender, ImageClickEventArgs e)
SharpMap.Geometries.Point p = myMap.ImageToWorld(new System.Drawing.Point(e.X, e.Y));
FeatureDataSet ds = new FeatureDataSet();
When i click on an image, that represents a point, the ExecuteInsertionQuery method doesn't seem to identify the required point. Does anyone have a suitable method for identifying the correct point clicked? Cos I tried a lot of solutions,but non of them
seem to work.