Mike thanks,
Not sure what I was thinking at the time.
I have fixed all of the reading in from xml. So now the polygons are
showing up on the map. but I still am unable have the infowindow
open.
This is what I have:
GEvent.addListener(poly, "click", function() {
//alert("hello world");
map.openInfoWindowHtml(pts, <div>hello</div>);
});
pts is from what is read in from xml.
I am not seeing any errors in error console, what am I overlooking?
On Dec 6, 12:57 am, Mike Williams <[EMAIL PROTECTED]> wrote:
> Wasn't it daniel who wrote:
>
> >GEvent.addListener(poly, "click", function() {
> >map.openInfoWindowHtml(pbuilding);
> >});
>
> map.openInfoWindowHtml() requires two parameters: the GLatLng and the
> HTML. THat's different from marker.openInfoWindowHtml() because the API
> knows the GLatLng of the marker.
>
> --http://econym.org.uk/gmap
> The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---