On Sep 14, 6:14 pm, ss ss <[email protected]> wrote:
> Dear Andrew,
>                    I have created marker clusters now. How can I add a info
> window when I click on any of the cluster icon?

It looks to me like the cluster icon click handler zooms in.  I don't
know that it would be helpful to open an infoWindow and zoom in.  You
could probably modify your own copy of the library to do that and see
how it works for you.

  -- Larry

> Is it possible because in
> the reference I dont find it any at this 
> linkhttp://gmaps-utility-library-dev.googlecode.com/svn/tags/markercluste...
> .
> 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%2bunsubscr...@­googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-api?hl=en.- Hide quoted text -
>
> - Show quoted text -

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