AjaxMapControl

Topics: Web Controls
Aug 28, 2007 at 3: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 6:00 AM
Edited Sep 26, 2008 at 11:05 AM

function

timedrefresh()

 

{

 

//it will referesh only map after 20ms

 

 

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

 

}

Regards
Abid Hussain
Dec 2, 2008 at 1: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 9:00 AM
That could go in the aspx markup or in an external js file -  its up to you hth jd