This project has moved and is read-only. For the latest updates, please go here.

Shapefile Query

Topics: SharpMap v0.9 / v1.x, Web Controls
Sep 23, 2008 at 7:22 PM
I am trying to query the road name from a shapefile when a user clicks it on the map. The colomn in the shapefile is RD_Name. Is there anyway I could do this?
Sep 27, 2008 at 7:49 AM
Does the following help?
Sep 27, 2008 at 11:20 AM
I am using the ajaxmap. I cant get this line of code "mapImage1.MouseUp += new MouseEventHandler(mapImage1_MouseUp);" to work. It doesnt give me the option to say mapImage1.MouseUp. mapImage1 being the ajaxmap on the web application. Is there anyway to get this to work in the ajaxmap on a web app?
Sep 28, 2008 at 11:01 AM
mapImage1.MouseUp  relates to an event on the desktop MapImage control, it does not exist on the Ajax control. You will need to do something with the AjaxMapControl.OnClickEvent property which is used to register the name of a client side (i.e runs in the browser) javascript function. In this function you would need to call back to the server to do your processing hth jd