Re: [pmapper-users] Pmapper5: refresh a layer
Brought to you by:
arminburger
From: gioza <al...@al...> - 2014-12-06 09:24:36
|
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. |