From: Hutchins, M. C. <Cha...@nr...> - 2011-05-17 23:33:13
|
All, I have a web app that animates time relevant layers by turning the visibility on and off (layer.setIsVisible(true/false)) in sequential order; this process works with varying results depending on the browser. Users with Firefox (especially 4) see layers that "flash" between each timestamp instead of a smooth transition to the next image, but server calls are only made for the amount of images in the array (unless a zoom/pan event occurs). Users with Internet Explorer and Safari see a smooth animation and the server calls are the same as with Firefox (best results). The worst results are Chrome users, where the animation is not only flashing but every single visibility switch initiates a new server call, so that even if you only had 10 images in your timeline, a Chrome user would make a call each time it hit the timestamp. Has anyone else had these experiences using GWT-OpenLayers in various browsers? Is using setIsVisible the standard for creating an animation? What about using opacity? Thanks in advance! Chad Chad Hutchins Meteorologist Naval Research Laboratory Marine Meteorology Division 7 Grace Hopper Ave. Monterey, CA 93943-5502 |