I am getting the 'map' property just before the event function. How will I get it into the event method? I am new in google api. Can you give any hint or method to get the 'map' property inside the click event. I am looking at this issue for a long time. Can you plz provide me a quick hint?
On Wed, Jun 29, 2011 at 9:16 AM, Andrew Leach <[email protected]>wrote: > On Jun 29, 10:12 am, rejeesh tj <[email protected]> wrote: > > But I am getting the 'this.map' as undefined inside the addListener > > function(). How to get the Object there? > > Yes. "this" is the marker you clicked on. It doesn't have a "map" > property. I suggest you do what everyone else does and open the > marker's infoWindow. > > -- > 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. > > -- ** [image: Fun & Info @ Keralites.net] * * *Be Positive Rejeesh T J * -- 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.
