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

Add point at location entered by user in textbox

Topics: SharpMap Project, SharpMap v0.9 / v1.x, SharpMap v2.0
Sep 22, 2010 at 5:28 PM


I have managed to get the ajax map working nicely and showing me an ecw file streetmap, with the district boundaries over laid on top (shape file).  I want the user of the website to be able to enter a postcode and then have the postcode looked up in my database, and then a point plotted on the map.

I can add code into the MapHelper file to do this for a static point, but I want the users to be able to enter the postcode they wish to see, then plot the point and zoom to it (like multimap type thing) using a textbox and button for example.

Is there anyway to acheive this.   Any help much appliciated.