Wasn't it [email protected] who wrote:
>
>On May 31, 2:09 pm, andrewljohnson <[email protected]> wrote:
>> For some reason, this event won't fire if the user's cursor isn't on a
>> marker:
>>
>> GEvent.addListener(map, 'singlerightclick', function(latLng, src,
>> overlay){
>> console.log(1);
>>
>> }
>>
>> You can try it out here:http://www.trailbehind.com/node/1148091
>
>It seems to work for me in both Chrome and IE6.
I suspect that it may work differently if you've got Firebug installed
in your browser. The page seems to work correctly in Firefox without
Firebug.
Note the presence of this line, which prevents the console.log() call
from throwing an error when Firebug is not installed:
if (!console) var console = {log: function(a){}};
There have been a few postings recently about Firebug causing weird
problems. I suspect that this is another example of that effect.
--
Mike Williams
http://econym.org.uk/gmap
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---