Do you really need to set the marker into floating mode?

You could just set the marker's *image* to one that looks like it is
floating, with a crosshair on it...
and then change the image back to normal when you are ready.



On Apr 29, 10:04 pm, Tail <[email protected]> wrote:
> Thanks Eric,
>
> that can be let marker drag on the map.
> mybe I did not clearly describes the point,my mean is marke the Marker
> float and show DragCrossImage manually (like use mouse dragging it )
> when I create the marker ,
>
> On Apr 29, 6:52 pm, Eric Ayers <[email protected]> wrote:
>
> > Hi,
> > When you create the marker, you can set the dragging  behavior by passing a
> > MarkerOptions object in the constructor.  Then, if you want to turn dragging
> > on/off use marker.setDraggingEnabled();
>
> > See the javadoc 
> > athttp://code.google.com/docreader/#p=gwt-google-apis&s=gwt-google-apis...
>
> > As an aside, there are a few changes in the next release that add support
> > for GDraggableObject, which allows you to create custom objects (not just
> > Markers) and make them draggable on the map.
>
> > Hope that helps,
> > -Eric.
>
> > On Wed, Apr 29, 2009 at 6:26 AM, Tail <[email protected]> wrote:
>
> > > In my project, A Custom control button on the map canvas, it named
> > > "Add New Position".
> > > When I click the "Add New Position" button, I add a Marker  on the
> > > map, Marker's LatLng onchaned by mousemove on map. How to make Marker
> > > draging state,let it float and show DragCrossImage.
>
> > --
> > Eric Z. Ayers - GWT Team - Atlanta, GA USAhttp://code.google.com/webtoolkit/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to