Hi zak,

thank you for your answer.

I also think that this problem is caused by layer clone() funktion.
So forget clone() to copy
mylayer.features[i].layer;
mylayer.features[i].bounds;
some listners and possibly somthing more, then when i copy this after
clone() manually, the selection does´t work too.

I try your patch and tell you if it helps

Best Regards
Robert

Am 15.09.2011 15:57, schrieb Zak James:
> Robert, 
>
> I believe your problem is related to this issue with vector layer cloning. 
>
> http://trac.osgeo.org/openlayers/ticket/2749
>
> I have a patch that remedies the problem for wfs layers that I've been
> meaning to attach to the ticket so you may want to try that once I post it. 
>
> zak
>
> --
> View this message in context: 
> http://osgeo-org.1803224.n2.nabble.com/Problem-with-SelectFeature-in-OpenLayers-Layer-Vector-clone-tp6767165p6796951.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>

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

Reply via email to