[Google Maps API v2] Re: this.map is null or a is null
On Jun 29, 10:12 am, rejeesh tj <rejeeshtj1...@gmail.com> 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 google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home