Prevent AjaxMap from Blinking

Topics: Web Controls
May 18, 2007 at 10:06 AM
Hi There,
I've implement Point to pointing the object through the map, because the object is always mobile so i've to "auto-refresh" all the time to keep the location updated. any method to keeping the pagefrom blinking cause of refreshment ?

Thanks.
Jun 21, 2007 at 9:57 PM
Can use something like
function OnMap_Init ........................................
...
...
SharpMap_PerpetualUpdate(obj);

return obj;
}

function SharpMap_PerpetualUpdate(obj)
{
var delegate = function() { SharpMap_PerpetualUpdate(obj); };
setTimeout(delegate, 30000);
SharpMap_BeginRefreshMap(obj, 1);
}