This is an ancient example I posted long ago: http://maps.forum.nu/temp/gm_control_click.html
It detects the CTRL key when you click on the markers. It should be simple to add Shift as well. Only tested in old versions of Chrome and Firefox. -- Marcelo - http://maps.forum.nu -- On Dec 22, 12:30 pm, somecallmemike <[email protected]> wrote: > I was wondering if it's possible to bind to a shift+click event when > placing markers. I am currently using the click event like so: > > GEvent.addListener(map, 'click', function(overlay, point) { > map.addOverlay(new GMarker(point, customIcons['add'])); > }); > > Looking at the API docs for GMarker the only click events listed are > dblclick and click. Anyone know if this can be extended to use a > different set of key/mouse events? -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
