[OpenLayers-Users] different DragControls on 2 different layersconflict!

Heidt, Christopher M. CHRISTOPHER.M.HEIDT at saic.com
Fri Jan 9 13:28:24 EST 2009


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: users-bounces at openlayers.org on behalf of Eric Lemoine
Sent: Fri 1/9/2009 12:01 PM
To: KartoPete; users at openlayers.org
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 <psingler at gmx.de>:
>
> 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
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
_______________________________________________
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/20090109/f17430a6/attachment.html


More information about the Users mailing list