On Mon, Jul 6, 2009 at 7:25 PM, Admin
TrouveTonGull.info wrote:
>
>>> I try to make
>>>
>>> new OpenLayers.Control.DragFeature(name_layer1, name_layer2),
>>>
>>> with my layers but no change :( It's a bad syntax?
>>>
>>
>> 1) Control.DragFeature only supports one layer
>> 2) You have to pass the la
>> I try to make
>>
>> new OpenLayers.Control.DragFeature(name_layer1, name_layer2),
>>
>> with my layers but no change :( It's a bad syntax?
>>
>
> 1) Control.DragFeature only supports one layer
> 2) You have to pass the layer object, not the layer name. This
> requires of course that your l
Hi,
On Mon, Jul 6, 2009 at 1:55 PM, Admin
TrouveTonGull.info wrote:
> Andreas Hocevar a écrit :
>> You need to configure the DragFeature control with the layer that
>> contains the features you want to drag.
>>
>
> I try to make
>
> new OpenLayers.Control.DragFeature(name_layer1, name_layer2),
>
>
Andreas Hocevar a écrit :
> You need to configure the DragFeature control with the layer that
> contains the features you want to drag.
>
I try to make
new OpenLayers.Control.DragFeature(name_layer1, name_layer2),
with my layers but no change :( It's a bad syntax?
thanks,
Fred
Hi,
See
http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Control/DragFeature-js.html#OpenLayers.Control.DragFeature.OpenLayers.Control.DragFeature
You need to configure the DragFeature control with the layer that
contains the features you want to drag.
Regards,
And
Andreas Hocevar a écrit :
>
> Hard to tell without seeing your code.
oups sorry, my map: http://www.trouvetongull.info/carte/
> But I would gess you are using
> an OpenLayers.Layer.Markers or OpenLayers.Layer.GeoRSS. The
> DragFeature control only works with vector layers (Layer.Vector,
> Layer.G
On Sat, Jul 4, 2009 at 10:39 PM, Admin
TrouveTonGull.info wrote:
> Hello,
>
> i try to enable drag for georss markers with "new
> OpenLayers.Control.DragFeature()"
>
> but my markers are always not dragable :( What is wrong?
Hard to tell without seeing your code. But I would gess you are using
an
Hello,
i try to enable drag for georss markers with "new
OpenLayers.Control.DragFeature()"
but my markers are always not dragable :( What is wrong?
bye,
Fred
___
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users