Thanks! Could you be kind and show some code how you mean, otherwise
it's hard to understand it. Thanks in advance!

On 12 Sep, 23:45, "geocode...@gmail.com" <geocode...@gmail.com> wrote:
> On Sep 12, 2:37 pm, 3D-kreativ <p...@telia.com> wrote:
>
> > Hi,
>
> > Is it possible to close an infowindow that is "open" on the map from
> > an ordinary function outside the google maps script?
>
> Yes.  If you have a reference to it in the scope in which that
> function runs (I usually make a global "infowindow" variable so I can
> replicate the v2 infowindow behavior).
>
>   -- Larry
>
> > I have tested
> > this, but nothing happens:
>
> > function closeWindow() {
>
> > infowindow.close();
>
> > }
>
> > Preciate some help. Thanks!

-- 
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 google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to