Hello Guys, 

I need a fresh pair of eyes, any bright idea would be much appreciated. 

I'm using two functions to achive the following: 

1. to add markers from Text; and, 
2. to remove and destroy those markers (in other words to reposition them). 

This way I'm loading periodically the markers position. But because the markers 
are deleted and then recreated again I find my markers flashing each time they 
are updated. 

So is there a way to update the markers position instead of removing and 
creating them? The whole idea is to get rid if marker flickering! 

the functions are as follow: 

function addUrl() { 
newl = new OpenLayers.Layer.Text( "Makinat", {location: "./Views/makinat.php"} 
); 
map.addLayer(newl); 
} 
function del() { 
map.removeLayer(newl); 
newl.destroy() 
} 

I published an example of this at http://212.112.229.168/gpsVer2/ . 

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

Reply via email to