On 29 June 2011 09:33, rejeesh tj <[email protected]> wrote:
> GEvent.addListener(this.marker,'click',
>                function() {
>                    this.map.openInfoWindowHtml(point,this.label||
> this.address);
>                }

This is what's failing. In the handler function, "this" is not what
you expect. It's a reference to the marker.

For future queries, please follow the posting guidelines and post a
LINK TO YOUR MAP (with details of what's going wrong and how to make
that happen), not code or a picture or anything else. This is
particularly important in your case where you are creating your own
classes.

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

Reply via email to