From: Jody Garnett <jody.garn...@gmail.com<mailto:jody.garn...@gmail.com>> Date: Thursday, 27 August 2015 19:14 To: Gabriella Turek <gabriella.tu...@niwa.co.nz<mailto:gabriella.tu...@niwa.co.nz>> Cc: geotools net <geotools-gt2-users@lists.sourceforge.net<mailto:geotools-gt2-users@lists.sourceforge.net>> Subject: Re: [Geotools-gt2-users] How to reload a WMS layer?
Layers are not really "loaded" they are accessed temporarily and drawn on to the buffered image you provided. So if you want to "reload" .. redraw. -- Jody Garnett Well yes, but usually the problem is that I never got the image to be redrawn in the first place. gaby On 26 August 2015 at 21:51, Gabriella Turek <gabriella.tu...@niwa.co.nz<mailto:gabriella.tu...@niwa.co.nz>> wrote: The WMS service I sue for my app is not very good and often is so slow my app times out. This is a pain if it happens during a zoom or other operation. I’d like to simply let my user try to reload the layer if this happens. What’s the best approach? I can get the last GetMapRequest and invoke, but how do I get the results back into the layer in question? Thanx Gaby ------------------------------------------------------------------------------ _______________________________________________ GeoTools-GT2-Users mailing list GeoTools-GT2-Users@lists.sourceforge.net<mailto:GeoTools-GT2-Users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
------------------------------------------------------------------------------
_______________________________________________ GeoTools-GT2-Users mailing list GeoTools-GT2-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users