Hi Dan,

The recommendation is to only have one InfoWindow, changing the content and
updating its position (or using the "open" method).

This is the technique used in the example you linked.

Chris

--
http://twitter.com/broady



On Thu, Aug 25, 2011 at 12:08 PM, DanZ <zivko...@google.com> wrote:

> Reading this thread I'm not sure if info windows should be closed before
> new ones are opened. This example does not call close before open:
> http://www.geocodezip.com/v3_markers_infowindows.html
>
> Assuming a global info window, what's the right thing to do?
> Set a position or pass marker during open()?
> Call close before open?
> Check what marker was selected previously before closing?
> Create a separate info window per marker, so that every marker owns its own
> window?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-maps-js-api-v3/-/388vBU5tnZAJ.
> To post to this group, send email to
> google-maps-js-api-v3@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.
>

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