Yes,<div><br></div><div>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!</div><div>
I'll do like you've said..</div><div><br></div><div>Thanks!</div><div><br><div class="gmail_quote">2010/3/12 helmi <span dir="ltr"><<a href="mailto:helmi03@gmail.com">helmi03@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
have u tried lyr.markers[i].display(false) ?<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Sat, Feb 20, 2010 at 1:43 AM, JuKiM <span dir="ltr"><<a href="mailto:rifins@gmail.com" target="_blank">rifins@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div class="h5">
Hi,<div><br></div><div>I have a couple of markers in a Marker Layer, and I would like to hide some of them..</div><div><br></div><div>I've tried to do lyr.markers[i].onScreen=false, or lyr.markers[i].display='none'.. But the markers are still on the map..</div>
<div><br></div><div>How can I hide the desired markers? </div><div><br></div><div>Thanks!!</div>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openlayers.org" target="_blank">Users@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br>
</blockquote></div><br></div>