ajaxmap refresh

Jan 8, 2009 at 8:10 PM
hi
i 'm use ajaxmapcontrol
in ajaxmap.js add code in mouse up event
        if obj.currentool = "measure"
             SharpMap_BeginRefreshMap(obj,1);


 and in maphelper.cs add code to check expression and add layer

layer in serevr side is added but in map not changed until zoom or unzoom map or referesh page again

why? and how to solve it?
Coordinator
Jan 8, 2009 at 9:51 PM
It is possible your browser is using a cached image. You may be able to get around this by appending a random querystring value to the map image url hth jd
Jan 8, 2009 at 10:09 PM
yes
that 's true
you are best