AjaxMapControl

Topics: Web Controls
Aug 28, 2007 at 4:57 PM
HI,

I am using the AjaxMapControl and i want to refresh the map with a constant delay. Are anybody know how can i implement this functionality?
Thanks.
Sep 23, 2008 at 7:00 AM
Edited Sep 26, 2008 at 12:05 PM

function

timedrefresh()

 

{

 

//it will referesh only map after 20ms

 

 

var t=setInterval("SharpMap_BeginRefreshMap(ajaxMapObj,1)",20000);

 

}

Regards
Abid Hussain
Dec 2, 2008 at 2:43 AM
Were do v place this code? is it in the aspx page or in any other js file
Coordinator
Dec 2, 2008 at 10:00 AM
That could go in the aspx markup or in an external js file -  its up to you hth jd