tiled layers are cached by the browser (which is the main advantage 
towards non-tiled ones...). In case of changes to the data or map file 
(symbols etc) you need to empty the browser cache. I have to check iof 
there is a config setting for defining the cache policy (expiration time 
of tiles) for testing.

Alternatively don't use layer/theme type PMTile but PMap which will 
always refresh the map image for this layer/theme.

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
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>

------------------------------------------------------------------------------
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
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to