GEvent.addListener()

5,241 views
Skip to first unread message

prakash

unread,
Feb 23, 2011, 12:45:38 AM2/23/11
to Google Maps JavaScript API v3
Hi ,
i am currently using version 2.0.Now i want to migrate my code
from v2.0 to v 3.0.can u please tell me the relevant method to place
the given below code.

GEvent.addListener(marker,"click",function(){...............});

And what is the relevant method for GBrowserIsCompatable() in version
3.0.

Rossko

unread,
Feb 23, 2011, 4:14:21 AM2/23/11
to Google Maps JavaScript API v3
> can u please tell me the relevant method to place
> the given below code.
> GEvent.addListener(marker,"click",function(){...............});

Perhaps you missed it in the documentation
http://code.google.com/apis/maps/documentation/javascript/events.html
or the examples
http://code.google.com/apis/maps/documentation/javascript/examples/event-simple.html

> And what is the relevant method for GBrowserIsCompatable() in version
> 3.0.

There isn't one.

geoco...@gmail.com

unread,
Jan 31, 2013, 9:51:27 PM1/31/13
to Google Maps JavaScript API v3
On Jan 31, 9:08 am, Sandhya Rani <sandhyarani177...@gmail.com> wrote:
> HI...
>
> are u sure the alternate for GEvent.addListener()
> isgoogle.maps.event.addListener().

Yes.

>
> Does it allow same no.of arguments.

Yes.

>
> Please help.

How? What problem are you having? Where is your map?

-- Larry
Reply all
Reply to author
Forward
0 new messages