This project has moved. For the latest updates, please go here.

Help on Sharpmap web js function

Topics: SharpMap v0.9 / v1.x, SharpMap v2.0, Web Controls
Aug 22, 2007 at 4:46 PM
I need to do zoom to a point without using ajax updatepanel (don't want the hole page to refresh)

One way i can do this is with callback but then I need to have a javascript function for the following using a html img as a button

How can I write a java function for the following code

ajaxMap.Map.Center = new SharpMap.Geometries.Point(Convert.ToDouble), Convert.ToDouble("-28.107044"));
ajaxMap.Map.Zoom = 0.025;

or is there a easier / better way to do this ?
Aug 23, 2007 at 9:50 AM
Hi I found the solution actually very easy, just write a function in the sharpmap.ui javascript, let me know , should you need it
Dec 2, 2008 at 1:52 AM
I want to add a point on Ajax control and zoom to the that point. Could please help me on this part