Hi.

I had a script with something like:

google.maps.event.addListener(polygon, "click", function(event){

        var infowindow = new google.maps.InfoWindow({
                                     content:'message',
                                     size: new google.maps.Size(50,50)
                                });

        infowindow.setPosition(event.latLng);
        infowindow.open(map);
});

but the part with event.latLng stop working so I made a simple
alert(event.latLng) to see the result and it returned "undefined".

I didnt understand why so I check the event object like:

for(var x in event)
    alert(x);

And it returned "Hk" and if I did alert(event.Hk) the result was what
I wanted.

How could be that? something has changed in the google maps API v3?

Thanks!

bye!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to