I can confirm this behaviour and I cannot imagine that this is on purpose. A click event inside an info window should not trigger a click event on the map.
It seems that the map click is dependent on the global infowindow, because calling the functions do_thing_1, do_thing_2 and do_thing_3 also closes the infowindow. If you don't close the infowindow in these functions no map click will be triggered. On Jul 22, 4:45 pm, Joseph Elfelt <[email protected]> wrote: > http://www.mappingsupport.com/forum_post/drag_marker_and_line_beta1.html > > Click this map to set some markers and draw a line. > Then rightclick a marker to display an infowindow with the bones of a > context menu. > Click an item in the menu. > Close the alert window. > > Notice that a new marker has been added to the map and the line has > been extended. > Apparently clicking an item in the context menu also fires a map > click. > I observed this result both before and after the 7-22 API release. > > I searched the forum and Issues page and did not see this point > mentioned. > > Is this something that I should report on the Issues page or is this > the way the API is intended to work? -- 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.
