Nice, now the infowindow is inside of the map. But part of the
infowindow is outside when map start, but moves
within the border of the map right after. I guess this is a correct
behavior? Thanks for the help!

On 11 Juli, 02:00, Chad Killingsworth
<[email protected]> wrote:
> The problem is that at the time your infowindow opens, the map API
> does not know the size of the marker. The info window is opened to fit
> in the map, but when the marker height is calculated, the info window
> is adjusted and moved partially off screen. You can solve the issue by
> using a MarkerImage object with a specific size so that the API knows
> exactly how big your marker is before the info window is opened.
>
> Chad Killingsworth
>
> On Jul 10, 6:13 pm, 3D-kreativ <[email protected]> wrote:
>
> > I wish it was so simple to solve, but border is removed from map and
> > comma is gone, but
> > the main problem is still there! Really hoping for a solution! Could
> > an info window be opened in
> > some other way and show the infowindow correct?
>
> > Thanks!
>
> > On 11 Juli, 01:00, "[email protected]" <[email protected]>
> > wrote:
>
> > > On Jul 10, 6:56 pm, "[email protected]" <[email protected]>
> > > wrote:
>
> > > > On Jul 10, 6:29 pm, 3D-kreativ <[email protected]> wrote:
>
> > > > > Hi,
>
> > > > > On my map I have an infowindow that is on the map from start, but the
> > > > > infowindow don't get inside the map. Some part of the infowindow is
> > > > > off the map! If you reload the page you can see how the position of
> > > > > the infowindow changes. First the infowindow is placed at the markers
> > > > > position, but then, when the marker is on the map, the infowindow
> > > > > jumps up a little bit, and there for gets outside of the maps border.
>
> > > > > Please have a look at this link and code! Preciate some help, I can't
> > > > > solve this. :(
>
> > > > The border you are applying to the map div seems to be causing the
> > > > problem to me.
>
> > > BTW - your map doesn't work in IE, you have an extraneous comma at the
> > > end of the anonymous object in your createMarker function that causes
> > > the javascript to crash in IE.
>
> > >    -- Larry
>
> > > > >http://fredagsmat.se/map2.html
>
> > > > > 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 [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-js-api-v3?hl=en.

Reply via email to