[OpenLayers-Dev] DragMarker - does it exist??
ezigoing
brad at cubewerx.com.au
Thu Feb 12 15:52:59 EST 2009
Peter,
I am using latest published version of OL (2.7). I believe it is the same
class(es) that you had found. I also think that Christopher had written this
class but it possibly will not get into the next version as I think he wants
to push everyone towards vectors and maybe Markers are on the way out(?).
I have put up my version of the example but with mouseover popups and I have
included these classes into the head section so you can check the code by
just viewing the source code of this example.
http://poc.numaps.com.au/dragMarker.html
I will probably have to go to vectors to do what I want but I have so much
invested in Markers that it will be somewhat painful for me. I don't suppose
you have a demo based on vectors?
Anyway, Thanks for your response.
Cheers, Brad...
From: plen (via Nabble) [mailto:ml-user+112617-1603414126 at n2.nabble.com]
Sent: Thursday, February 12, 2009 11:25 PM
To: ezigoing
Subject: Re: [OpenLayers-Dev] DragMarker - does it exist??
Brad,
Which dragMarker class are you referring to? Which OL version? I have
switched to use the drawing controls in OL which has a drag capability for
drawn features (points, lines, polygons). I would be interested in seeing
if your dragMarker class is the same one that I found in the sandbox.
Thanks - Peter
-----Original Message-----
From: "ezigoing (via Nabble)"
Sent: Feb 12, 2009 5:23 AM
To: plen
Subject: Re: [OpenLayers-Dev] DragMarker - does it exist??
plen wrote:
Hello,
I am still trying to find whether the OpenLayers.Control.DragMarker
capability is available or not. I have found the following
examples/references to this class:
-
http://dev.openlayers.org/sandbox/tschaub/feature/examples/drag-marker.html
-
http://n2.nabble.com/Trapping-lonlat-values-on-mouse-drop-(mouseup)-td840869
.html
I do not see the class in OL v2.5-2.7. WIll this feature be added to the
API, or is there a way to get the same behavior in another way, meaning, I
have a Marker and once placed on the map, I want to be able to drag it to a
new location?
Thanks - Peter
Peter, did you get anywhere with this? I can drag markers with the
dragMarker class but the popup stays at the old location. I also want to do
something with the new coordinate but don't know how to interrogate a
marker's position?
http://poc.numaps.com.au/dragMarker.html
Cheers, Brad....
_____
This email is a reply to your post @
http://n2.nabble.com/DragMarker---does-it-exist---tp1832683p2314512.html
You can reply by email or by visting the link above.
--
View this message in context: http://n2.nabble.com/DragMarker---does-it-exist---tp1832683p2317749.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20090212/2db5016a/attachment.html
More information about the Dev
mailing list