The only thing you need to do is put a new after the equal sign
var windowName= new map.openInfoWindowHtml(latlng, html, {zoomLevel:
6} );
Try it out see if it works.
On Aug 2, 12:44 pm, "[email protected]"
<[email protected]> wrote:
> Hi novitonics,
>
> may be a silly question, but how can i give the Infowindow a name?
>
> http://code.google.com/intl/de-DE/apis/maps/documentation/javascript/...
>
> doesn't show an option for this or do you just mean:
>
> var windowName= map.openInfoWindowHtml(latlng, html, {zoomLevel:
> 6} ); ??
>
> Cheerio :),
> Ramo
>
> On 2 Aug., 12:27, novitonics <[email protected]> wrote:
>
>
>
> > Try the following clause after having done the save operations:
>
> > NameOfWindow.close()
>
> > window.parent.close() // will close the parent invoking window might
> > also be useful
>
> > Cheers!
>
> > On Aug 2, 11:16 am, "[email protected]"
>
> > <[email protected]> wrote:
> > > Hello,
>
> > > i'm trying to close an infowindow, that displays two images. One image
> > > has a onclick handler like onlick="save(this)" .... if this image is
> > > clicked, the save funcion should be processed, and after this, the
> > > window, on which this image was clicked should be closed. I don't have
> > > an idea how to solve this problem. Are there any hints? I searched the
> > > forum, but didn't found a solution. May be i searched with the wrong
> > > keywords.
>
> > > Beste regards,
> > > Ramo- Hide quoted text -
>
> - Show quoted text -
--
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.