Re: [pmapper-users] Pmapper5: refresh a layer
Brought to you by:
arminburger
From: Armin B. <arm...@gm...> - 2014-12-01 21:31:04
|
could you give it a try and change in lib/map/pmtile/maptile.php line 55 to $offset = 1; I'm not sure if it's this value or the one from the index.php file for "session_cache_expire" that defines effectively the cache expiration. In the case the offset value works I will add some small modifications to allow setting default global values via the config or for single layers individually. armin On 12/01/2014 10:17 AM, gioza wrote: > Pmapper5 has a great property which is the client-side caching so users can > browse very fast in the map! > Sometimes it is useful to refresh a layer (after editing or because a layer > contents are changed for any reason). > I tried with a new control function in this way: > > map.layers[4].redraw(true ); > map.layers[5].redraw(true ); > > but with no results. The layers just flashed but remain the same. > Any idea? > > > > > -- > View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Pmapper5-refresh-a-layer-tp4025689.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=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > pmapper-users mailing list > pma...@li... > https://lists.sourceforge.net/lists/listinfo/pmapper-users > |