[OpenLayers-Users] Select and Drag Control

Tony Jeffree tjeffree at gmail.com
Thu Apr 29 09:35:01 EDT 2010


Hi all,

I'm attempting to create a scenario where a set of vectors (in this case,
external images) can be clickable and draggable, with as little intervention
by the user as possible. I've spent some time trying to hack this together,
and search to see if others have done the same thing but the closest I get
is this thread:
http://openlayers.org/pipermail/users/2009-December/015450.html

I'm not exactly sure what the last couple of posts are referring to there.
I've found some hacks where upon clicking a feature it will activate the
drag control, but that's not ideal as you wouldn't expect to have to first
click, and then drag - just drag it right away makes more sense.

If anyone has any pointers as a way to create a custom control for this I
would really appreciate it. Or of course tell me it's not so possible so I
can stop pulling my hair out.


Thanks
Tony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100429/502327f3/attachment.html


More information about the Users mailing list