SharpMap creates images, and an image is not clickable like that. You would have to supply your own code to make mouse-events in specific areas on the image.
SharpGIS wrote:
SharpMap creates images, and an image is not clickable like that. You would have to supply your own code to make mouse-events in specific areas on the image.
How do you make mouse events in specific areas on the image, I also read the other post where you can store the location(x,y) of a clicked point on the map to a database, can we compare the x,y data to a given place's x,y and then pop up a small window or hyperlink it to something
You can use the ImageToWorld and WorldToImage methods of the Map class to translate between data (x, y) coordinates and screen (x, y) coordinates. Once you have this, you can do anything you want.
You are also free to put controls in the MapImage (and improved MapBox) control, and locate them anywhere you want in that control, like normal Win32 controls.