Thanks Andrew,
the {suppressMapPan:true} works fine execpt of the fact, that the
infoWindow doesn't follow the z-index. The infoWindow "disappears" if
the marker is close to the border.
I tried to check how Yelp is doing that, but it didn't work.
http://www.yelp.com/search?find_loc=Jack%27s+Club%2C+San+Francisco%2C+CA+94110&cflt=restaurants
Bernd
On 5 Gen, 17:51, "warden [Andrew Leach - Maps API Guru]"
<[email protected]> wrote:
> On Jan 5, 3:25 pm, "[email protected]" <[email protected]>
> wrote:
>
>
>
> > The onmouseover of the map shows the description and moves the map.
> > But this is exactly what I didn't want. The description should be
> > overlayed without moving the map.
>
> Try changing
> marker.openInfoWindowHtml(html);
> to
> marker.openInfoWindowHtml(html,{suppressMapPan:true});
>
> Caution!! This is an undocumented option and may not work now or in
> the future, or may cause something else to break.
> Seehttp://econym.org.uk/gmap/reference.htm#openInfoWindow. Using
> undocumented features in a production environment is not recommended.
>
> PS: It helps to use the API's terms for objects. I'm assuming you are
> referring to the infoWindow: "description" is a bit generic.
>
> Andrew
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---