• Resolved stanman1

    (@stanman1)


    The default size of the popup box which is displayed by clicking on the pin is HUGE, and in some cases too large to fit on the map. Must I modify the CSS to manually over-ride the default size so it fits nicely and adheres to best practices for good usability?

    If so, exactly what file must I tweak to achieve the desired result, where will I find it in the directory structure, and which class controls this? I would right mouse click and “inspect element” to find the answer to this question myself, but because it’s a Google map embedded within a page that functionality doesn’t work in Chrome.

    The URL of my map is as follows:
    http://sandbox.theweboasis.com/i61/the-network/

    Thanks in advance for your help!

    http://wordpress.org/plugins/easy2map/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author stevenellis

    (@stevenellis)

    Hi,

    The required changes are on line 60 and 87 of easy2map.js (found in the scripts folder).

    The line
    infoWindow = new google.maps.InfoWindow();

    needs to change to
    infoWindow = new google.maps.InfoWindow({maxWidth: 200});

    We will definitely look to include this in the next version of the plugin.

    Best,
    Steven

    Plugin Author stevenellis

    (@stevenellis)

    Hi, the new version of the plugin fixes this issue.

    Best,
    Steven

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do I modify the default dimensions of the marker pop-up?’ is closed to new replies.