://www.dynamicdrive.com) Just
get to
the dom-drag.js stuff.
Cheers,
Brad Spencer
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kevin Marsh
Sent: Monday, 28 July 2008 11:31 PM
To: users@openlayers.org
Subject: [OpenLayers-Users] Dragging a DOM element onto
On Wed, Jul 30, 2008 at 03:03:13PM -0400, Kevin Marsh wrote:
Brad,
Thanks... I started fiddling with jQueruy/UI draggable stuff (which
was a lot of fun, seeing as how their doc site is/was down).. and it's
relatively straight forward. Here's some code I came up with:
Hey Kevin,
...all is possible, but I'm sure you know that. :-)
Are your list-items already dragable? If not, I would suggest using an
existing solution of any JS-framework out there (jQuery and the like).
As for the rest you need a callback on the drag-end-event of the li
that checks if the
-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kevin Marsh
Sent: Monday, 28 July 2008 11:31 PM
To: users@openlayers.org
Subject: [OpenLayers-Users] Dragging a DOM element onto an OpenLayers
map
I have a list of items in an unordered list (ul) on the same page as
my OpenLayers maps. I'd
I have a list of items in an unordered list (ul) on the same page as
my OpenLayers maps. I'd like to be able to drag a list item (li) onto
OpenLayers, send an AJAX request (to store the coordinate info on the
server), then place a marker on the map in that position.
Is this possible? I've