Hi all,

I have a WMS layer on a geoserver.  This WMS layer is a representation of a 
table in postgis.
I draw this WMS layer on top of some other layers.
Every 5 seconds I want to redraw the WMS layer because the data in the postgis 
database is continuously changing.
But when I call redraw(true) on the wms layer, the layer is flilckering .... 
Any idea on how I can stop this flickering?


Here's my code:

initCode() { ..........

                  uavLayer = new OpenLayers.Layer.WMS( "UAV Location",
                                                                                
         "http://192.168.2.15/geoserver/wms";,
                                                                                
         {layers: 'HAP:uav_platform',
                                                                                
         transparent: true, tiled: true}, {isBaseLayer: false, visibility: 
false' } );

        map.addLayer(uavLayer);
........ }

reloadCode() {
.....
map.redraw(true);
....
}



regards,
Stephen

---
This e-mail, any attachments and the information it contains are confidential 
and meant only for the use of the addressee(s) only.  Access to this e-mail by 
anyone other than the addressee(s) is unauthorized.  If you are not the 
intended addressee (or responsible for delivery of the message to such person), 
you may not use, copy, distribute or deliver to anyone this message (or any 
part of its contents) or take any action in reliance on it.  In such case, you 
should destroy this message and notify the sender immediately.  If you have 
received this e-mail in error, please notify us immediately by e-mail or 
telephone and delete the e-mail from any computer.
All reasonable precautions have been taken to ensure no viruses are present in 
this e-mail and its attachments.  As our company cannot accept responsibility 
for any loss or damage arising from the use of this e-mail or attachments we 
recommend that you subject these to your virus checking procedures prior to use.


_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to