AW: [OpenLayers-Users] Draggable and Selectable features on map

2010-10-01 Thread Arnd Wippermann
von James Humphreys Gesendet: Freitag, 1. Oktober 2010 18:30 An: P Kishor Cc: openlayers-users@lists.osgeo.org Betreff: Re: [OpenLayers-Users] Draggable and Selectable features on map What I want is that you simply click the marker, hold the button down, drag and drop. Like this example: http://

Re: [OpenLayers-Users] Draggable and Selectable features on map

2010-10-01 Thread James Humphreys
What I want is that you simply click the marker, hold the button down, drag and drop. Like this example: http://code.google.com/apis/maps/documentation/javascript/v2/examples/marker-drag.html (ignore the balloon in this example) As I understand it, if I use the ModifyFeature control I'll have to c

Re: [OpenLayers-Users] Draggable and Selectable features on map

2010-10-01 Thread christopher.schmidt
On Oct 1, 2010, at 12:19 PM, ext P Kishor wrote: > On Fri, Oct 1, 2010 at 11:10 AM, James Humphreys > wrote: >> Hi Alexandre, >> Thanks for your suggestion. It's a good idea, but not quite the effect I'd >> like to achieve. If I understand correctly, the user would have to actually >> select the

Re: [OpenLayers-Users] Draggable and Selectable features on map

2010-10-01 Thread P Kishor
On Fri, Oct 1, 2010 at 11:10 AM, James Humphreys wrote: > Hi Alexandre, > Thanks for your suggestion. It's a good idea, but not quite the effect I'd > like to achieve. If I understand correctly, the user would have to actually > select the feature first then drag? I'd like the drag to "just work"

Re: [OpenLayers-Users] Draggable and Selectable features on map

2010-10-01 Thread James Humphreys
Hi Alexandre, Thanks for your suggestion. It's a good idea, but not quite the effect I'd like to achieve. If I understand correctly, the user would have to actually select the feature first then drag? I'd like the drag to "just work" without having to click it first. Unfortunately, I don't have ti

Re: [OpenLayers-Users] Draggable and Selectable features on map

2010-09-30 Thread Alexandre Dube
Hi James, You could try to replace both the SelectFeature and DragFeature controls by a ModifyFeature control, which contains a SelectFeature control itself so you could listen to its "featureselected" event to display your popup. Dragging the marker while it's selected should work. Regar

[OpenLayers-Users] Draggable and Selectable features on map

2010-09-29 Thread James Humphreys
Hi, I'd like to have markers on the map that have a baloon appear when I click them, and are also draggable. I've created an OpenLayers map with markers using a vector layer. When I click on the markers I'd like a baloon to pop up (a FramedCloud). That's easy enough - I added a SelectFeature contr