Re: [pmapper-users] Pmapper5: refresh a layer
Brought to you by:
arminburger
From: Armin B. <arm...@gm...> - 2014-12-09 10:43:28
|
you could also just have it easy, and if you want layers without any caching, use the non-tiled ("PMap") type.... or add a timestamp KVP at the end of each x/y/z request URL, as it's done for the highlight layer. On 12/09/2014 10:50 AM, gioza wrote: > this function seems to do the job (partially). I have to do more tests > because it works only after a "pan" > > trigger: function myRefreshMap(){ > if (this.map) { > map.layers[4].clearGrid(); > map.layers[4].redraw(true); > > } > > }, > > clearGrid deletes the cache for layer[4] > > > > > > -- > View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Pmapper5-refresh-a-layer-tp4025689p4025705.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 > pma...@li... > https://lists.sourceforge.net/lists/listinfo/pmapper-users > |