Google InfoWindow does not display description correctly

Home Forums MapPress Support Google InfoWindow does not display description correctly

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13438
    Einstein
    Participant

    Hi, when I display the POI body in the Google InfoWindow, the text paragraph gets cut off and the scroll bar appears requiring you to scroll sideways, Is there any way to wrap the text so that it carries on to the next line instead of in one continuous line please? In your plugin demonstration the text carries onto the next line, but I cannot get it to appear like it does in your demo. Thank You.

    #13441
    Chris
    Keymaster

    Hi,

    If you could, please provide a URL when reporting issues like this, it helps if I can see the problem.

    I’ve never found a consistent solution for the infowindow scrollbars. It seems to depend on some combination of the browser, font and other CSS.

    Google has several bug tickets open about it, but here’s the most recent. You can “star” it to raise its priority with Google:

    http://code.google.com/p/gmaps-api-issues/issues/detail?id=5713

    Here are some things to try that may help:

    1. Make sure all of your images have a width and height specified, e.g.:
    <img style='width:150px; height: 150px'/>

    2. Switch to using the custom MapPress “infobox” (you can set it in the settings or in the shortcode with iwtype=”ib”). The infobox resizes properly

    3. Enclose your the marker body in a div with a fixed height and width, e.g.:
    <div style='width:300px;height:300px'>Your body here</div>

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.