Hi, Succesfully used the nightly build with BBOX strategy and WFS protocol to refresh my layer without blinking. This gives me a very good user experience.
Had to make a minor chage to the code though: In Strategy.BBOX update method the options.force is checked. This didn't work the way I expected (namely creating the strategie with new OpenLayers.Strategy.BBOX({force: true}) had no effect) Seems that in Strategy.js the options are extended to with OpenLayers.Util.extend(this, options) so this leaves us with a this.force parameter but not options.force I guess. I changed the update method in Strategy.BBOX but alternative could be the way options are extended I guess. Cheers Kris -----Original Message----- From: Christopher Schmidt [mailto:crschm...@metacarta.com] Sent: Friday, March 27, 2009 11:12 PM To: Andreas Hocevar Cc: Kris Geusebroek; users@openlayers.org Subject: Re: [OpenLayers-Users] transitionEffect for WFS layer possible? On Fri, Mar 27, 2009 at 09:59:02PM +0100, Andreas Hocevar wrote: > Hi, > > 2009/3/27 Kris Geusebroek <kgeusebr...@xebia.com>: > > I had a WMS layer with a transitionEffect = resize which gave a good user > > experience since the layer is refreshed in a certain timelimit. > > > > Now I have changed this to a WFS layer (because I need to add functionality > > to a feature like a popup onHover) > > > > But now the refreshing is causing a blinking effect. > > Is it possible to have the transitionEffect on a WFS layer (in IE) in any > > way? > > Not as transitionEffect option. What you could do, however, would be > to create your WFS layer twice, but display only one at a time. Your > workflow would be something like: > > * layer1 on, layer2 off > * turn layer 2 on, refresh layer 2, wait a sec or so, turn layer 1 off > * layer1 off, layer2 on > * turn layer 1 on, refresh layer 1, wait a sec or so, turn layer 2 off Alternatively, use trunk with WFS and the BBOX protocol, which doesn't get rid of the old features until the new ones are loaded, right? Regards, -- Christopher Schmidt MetaCarta _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users