Re: [pmapper-users] Pmapper5: refresh a layer

2014-12-09 Thread Armin Burger
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 (par

Re: [pmapper-users] Pmapper5: refresh a layer

2014-12-09 Thread gioza
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