> my question ..How to close the info window by starting drag the
> marker.I used this function .but not working
> GEvent.addListener(marker, "dragend", function()
> {closeInfoWindow();} );

"dragend" fires at the end of the drag.
You might consider "dragstart" instead.
   http://econym.org.uk/gmap/gevent.htm

.closeInfoWindow() is a method of your GMap2 object
   http://code.google.com/apis/maps/documentation/reference.html#GMap2
as am example
  mymap.closeInfoWindow();

Does you browser not report a script error for you?

cheers, Ross K

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to