i implemented an external toggle btn that switchs which control is active. The good side effect of this is that the layer with the stuff ive chosen to select comes to the front of the stack, making it a nice way of dealing with overlaped items on dif layers as well.
-----Original Message----- From: [email protected] on behalf of Eric Lemoine Sent: Fri 1/9/2009 12:01 PM To: KartoPete; [email protected] Subject: Re: [OpenLayers-Users] different DragControls on 2 different layersconflict! Hi. You won't be able to have two drag feature controls (configured with two different layers) working at the same time. For this to work we need support for feature selection with multiple layers, which we don't have at this point. Cheers, Eric 2009/1/9, KartoPete <[email protected]>: > > Hi guys, > I#ve got two layers which are to be seen at the same time. For each layer > I#ve got a different Control.DragFeature. If I activate both I get a > conflict and not both are dragable. Is there any way to handle this? I tried > to activate/deactivate on a mouseover at one of the features, but it doesn't > work. > thx, > Pete > -- > View this message in context: > http://n2.nabble.com/different-DragControls-on-2-different-layers-conflict%21-tp2133595p2133595.html > Sent from the OpenLayers Users mailing list archive at Nabble.com. > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
