Dear Andrew,
                   I have created marker clusters now. How can I add a info
window when I click on any of the cluster icon? Is it possible because in
the reference I dont find it any at this link
http://gmaps-utility-library-dev.googlecode.com/svn/tags/markerclusterer/1.0/docs/reference.html
.
Hope you can help me on this? I guess I have to add GEvent is it? Thank you.

On Thu, Sep 9, 2010 at 4:28 AM, Andrew Leach <[email protected]>wrote:

> On 8 September 2010 21:04, ss ss <[email protected]> wrote:
> > Dear Andrew,
> >                    I have done like below but when I close it does not
> > trigger the onCloseFn function?
> > map.openInfoWindow(latlng,htmlString,onCloseFn);
> >
> > function onCloseFn() {
> >              alert('Closing');
> >              //map.recenterOrPanToLatLng(mblcPoint); // my center Point
> >             }
>
> As I say, the documentation is useful.
>
> map.openInfoWindow(latlng,htmlString,{onCloseFn:onCloseFn});
>
> The first onCloseFn: is an attribute of the {object}; the second --
> the value of the attribute -- is the name of your function.
>
> Or, you could explicitly add an event listener to the map to listen
> for the infowindowclose event as Nathan has provided. Don't do both
> though.
>
> --
>  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]<google-maps-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-api?hl=en.
>
>

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