On Sep 19, 10:20 am, ps_oilcoil <[email protected]> wrote:
> Hi all,
> I have published a map built based on guidance 
> fromhttp://econym.org.uk/gmap/categories.htm.
> You can have a look at the map itself 
> herehttp://www.best-places-bulgaria.com/index.html
>
> You will notice that the map is shifted every time the mouse goes over
> a marker and the info window can not fit into the screen. When the
> info window is closed the map remains shifted and the visitor has to
> drag in order to center it.
>
> What I am currently struggling to achieve is to refresh the map every
> time the visitor closes an info window. Could you please advise how
> this can be done?

The infowindow has a closeclick event that you can use to recenter the
map.

You will probably also want to listen to the map click events and
recenter on those as well because they also cause the infowindow to
close.

  -- Larry


>
> Thank you very much in advance
> Pavel

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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