[OpenLayers-Users] Flickering while updating overlay
tommy408
tommytomorow at msn.com
Fri Jul 24 01:03:27 EDT 2009
Anyone know how to get rid of the flickering when refreshing an overlay
layer?
I've tried
my_layer.redraw(true)
and
my_layer.mergeNewParams({'foo': Math.random()});
I'm trying to update user map periodically. But the layer disappears for a
split sec and appears.
I've tried something like this but it doesn't work.
var temp_layer = my_later.clone();
temp_layer.redraw(true);
map.addLayer(test_layer);
map.removeLayer(my_later);
--
View this message in context: http://n2.nabble.com/Flickering-while-updating-overlay-tp3313858p3313858.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list