Re: [OpenLayers-Users] Hide some markers of a OpenLayers.Layer.Marker

2010-03-16 Thread JuKiM
Yes, I was doing with a setOpacity(0) or setOpacity(1) and it was the same effect, but with your tip it worked, too, I was trying to do a display='none', but it wasn't the good way! I'll do like you've said.. Thanks! 2010/3/12 helmi helm...@gmail.com have u tried lyr.markers[i].display(false)

[OpenLayers-Users] Hide some markers of a OpenLayers.Layer.Marker

2010-02-19 Thread JuKiM
Hi, I have a couple of markers in a Marker Layer, and I would like to hide some of them.. I've tried to do lyr.markers[i].onScreen=false, or lyr.markers[i].display='none'.. But the markers are still on the map.. How can I hide the desired markers? Thanks!!