On Jan 9, 10:03 pm, Aiswarya krishna <[email protected]> wrote:
> hi friends,
>
>                       How will i make my program to  listen to the
> right click event in google map...............Pls
> help...........................
>
> I tried this................
>
> GEvent.addListener( map, "rightclick", function(p){
>   alert( "Right!" );
>
> });
>
> But this is not working..Pls help

That is Google Maps Javascript API v2 syntax, this is the v3 group.
Which are you using?
For v3 it needs to be google.maps.event.addListener

http://code.google.com/apis/maps/documentation/javascript/events.html
http://code.google.com/apis/maps/documentation/javascript/reference.html#event

  -- Larry

-- 
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