The only way it works for is to set "session_cache_limiter('nocache')" in index.php and comment the following line. Obviously the effect can be appreciated after a reaload, not during a live session (not completly true).
The function map.layers[i].redraw(true) isn't useful, I would try with a map.layers[i].destroy() followed by map.addlayer[i]. Destroy function works, it deletes the oltheme refering to the order specified by the [i]. I think that caching shouldn't be set off because it improves browising performance for user. In my opinion the right way is to decide which layer can be refreshed (ex.: editable layer...). I am working on it, I let you know. any ideas? Giovanni -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Pmapper5-refresh-a-layer-tp4025689p4025704.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users