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

helmi helmi03 at gmail.com
Fri Mar 12 02:27:42 EST 2010


have u tried lyr.markers[i].display(false) ?

On Sat, Feb 20, 2010 at 1:43 AM, JuKiM <rifins at gmail.com> 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
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100312/a7adda14/attachment.html


More information about the Users mailing list