Hi
I have a jquery ui dragable with a callback function triggered after
the drag stopped:

 $("#draggable").draggable({
   stop: function(e) {google.maps.event.trigger($map,"mouseup");}
  });

I am adding the listener to my map:
$map = new google.maps.Map(document.getElementById("map_canvas"),
        myOptions);

google.maps.event.addListener($map, 'mouseup', function(event) {
    placeMarker(event.latLng);
  });

and I am getting the error that "event is undefined"

Any idea why?

Thanks

K

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

Reply via email to