On Apr 19, 2:40 pm, Arvind Rangan <[email protected]> wrote: > understood that we cannot do it with mouseup or down on the map, can we > trigger click event ? from other javascript ?
I think you need to consider what you are actually doing. It sounds like you are dragging an object and want to find out where it's released. If that is the case, then consider GDraggableObject http://code.google.com/apis/maps/documentation/reference.html#GDraggableObject -- which does have mousedown and mouseup. http://www.acleach.me.uk/gmaps/draggableobject.htm uses a GDraggableObject to place a marker on the map -- when the pointer is released, a marker is placed at the same position and the object is returned to the start position. There are particular issues with finding the "active" point of a GDraggableObject as the calculations are relative to its top-left corner and the browser window. -- 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.
