alex19841

How do I refresh static map?

Discussion created by alex19841 on Apr 29, 2014
Latest reply on Apr 30, 2014 by alex19841
I would like to refresh ArcGIS map on the page when my ajax completes call. I have a function that gets executed when ajax completes call in that function i have:

function onAjaxSuccess()
{

map.setExtent(map.extent);
mapLayer.refresh();

}

but map does not get refreshed.

Outcomes