Ok, I already fix it but I don't know why it behaves like this. I'm
not a javascript expert so maybe it's pretty dumb. The only thing I
have to do is, before the line 57, save the reference to the map in a
local variable like this var map2=this.gmap and then use that variable
to get the infowindow inside the listener. Thank for your answers.

On Nov 29, 1:26 am, Andrew Leach <[email protected]>
wrote:
> On Nov 28, 11:34 pm, sk <[email protected]> wrote:
>
> > I've already get my code for maximizing the infoWindow working, now
> > when I maximize the window it doesn't display the text that I told to
> > in the listener. I'm just following the example from Google Maps API
> > Bloghttp://googlemapsapi.blogspot.com/2007/11/pump-up-your-info-windows-t...
> > and my code is the same:http://sktest.awardspace.info/
>
> Your code isn't the same at all. I don't know what the keyword "this"
> actually refers to in line 56 of your page:
> var iw = this.gmap.getInfoWindow();
> but I get an error "this.gmap has no properties", which would explain
> why the infoWindow isn't behaving. However I can't find that code in
> the blog post you referenced or anything linked to from there.
>
> Perhaps it would be better to follow the examples.
>
> Andrew

--

You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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