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 <[email protected]> > have u tried lyr.markers[i].display(false) ? > > On Sat, Feb 20, 2010 at 1:43 AM, JuKiM <[email protected]> wrote: > >> 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!! >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://openlayers.org/mailman/listinfo/users >> >> >
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
