Sorry.. Now getting the error 'a is undefined' On Thu, Jun 30, 2011 at 10:15 AM, Andrew Leach <[email protected]>wrote:
> On 30 June 2011 10:15, rejeesh tj <[email protected]> wrote: > > > Why the property of both 'map' and 'marker' is not getting inside? > > Any idea? > > Yes. Please review the previous answers. > > Inside a listener function, "this" refers to the object which is > clicked, NOT your "this". Thus "this" is the marker, and "this.map" > doesn't exist. > > You should use this.openInfoWindowHtml() and open the infoWindow on the > marker. > > -- > 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.
