On May 9, 10:29 am, JHM <[email protected]> wrote:

> What I would like my map to do is center the balloon icon on the map,
> instead you can see that it's placed at the bottom.  Any ideas?


Well, what you can do is to center the map at the point whose info
window is opened. The info window itself is then above the centered
marker. The info window itself cannot - and I also guess should not -
be centered.

How this can be be done is pure Javascript - not related to the Maps
API.

Try to add the following to your function myclick(). If the scope of
your script is alright it should work as expected

map.setCenter(gmarkers[i].getLatLng());

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

Reply via email to