On Aug 18, 11:20 am, "geocode...@gmail.com" <geocode...@gmail.com>
wrote:
> On Aug 18, 11:02 am, Micah <micahs2...@gmail.com> wrote:
>
> > Ok, thanks for your help. You can view an example 
> > here:http://micah.swellinfo.com
>
> > I first center on the marker (the marker that has the infowindow).
> > Then, I do an call open().
>
> FYI - Your map doesn't work in IE6, so I can't see what you are
> talking about.

And in firefox I get:
Error: initialize is not defined
Source File: http://micah.swellinfo.com/
Line: 1
(which is the second error I get in IE, after one that looks like it
is because for some item item.break has a problem; I suspect you don't
actually need a initialize function or you have something that is
overwriting it the body onload event for IE)

I still think triggering a "click" on the marker (instead of opening
it, since that will open the infowindow and move the center of the map
to fit the infowindow) will fix your original problem.

  -- Larry

>
> Might I suggest triggering a "click" event on the marker instead?
>
>   -- Larry
>
>
>
>
>
> > On Aug 18, 1:57 pm, "geocode...@gmail.com" <geocode...@gmail.com>
> > wrote:
>
> > > On Aug 18, 10:52 am, Micah <micahs2...@gmail.com> wrote:
>
> > > > I have created a map and a marker.  An infowindow is associated with
> > > > the marker and pops up on startup. The infowindow re-centers the map
> > > > in order to fit in the current view, but unfortunately the very top of
> > > > the infowindow is still cut off.
>
> > > > This does not happen when I associate the infowindow with a click
> > > > event.
>
> > > > Any ideas how to have the infowindow fit (as it does on click event)
> > > > property.
>
> > > > Thank you,
>
> > > I assume that you are centering the map on the marker.  If that makes
> > > your infowindow get cut off by the map boundary (another assumption),
> > > change the place that you are centering the map os the infowindow
> > > fits.  If you want specific advice, a link would help.
>
> > >   -- Larry- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

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