WordPress.org

Support

Support » Plugins and Hacks » Basic Google Maps Placemarks » [Resolved] Hide PopUp Box?

[Resolved] Hide PopUp Box?

  • Hi Ian, really love the plugin.

    Just one thing, i have a client who wants to list all of their dealers, but they don’t want to show the pop up and give the information of their names. Is their anyway to disable the pop up altogether?

    Thanks
    Dan

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Ian Dunn

    @iandunn

    Hi Dan, the plugin doesn’t support that right now, but I may add an option in the future if enough people ask for it.

    In the mean time, you can do it manually by editing the functions.js file and commenting out the line that says infowindow.open(map, marker); (line 169 in version 1.4).

    Hello,
    Love this plugin. When I click on the placemark and it opens the popup, How do I get it to close again?

    Plugin Author Ian Dunn

    @iandunn

    There should be an X in the upper right-hand corner that you can click on. If it’s not showing up, post the URL of the page on your site that has the map and I’ll take a look.

    Hi Ian,
    Here is the page, It looks like there must be an x there, but it has a white font and can’t be seen.
    Do I change the font color for the x?

    Thanks,
    Evelyn

    http://greekbistro.evelynfassett.com/map/

    I have a similar problem, but with a different Google map placemark plug-in, which is why I am in the process of switching to Ian’s plug-in since it doesn’t exhibit the problem.

    As you can see from this example page (scroll down to below the graph), if you click on any placemarker the pop-up box looks almost identical to Evelyn’s (including the dirty smears at the bottom of the box and just outside the box, and the inability to close the box). If you click on a second and subsequent placemarker then the preceding box closes but there is no way you can close the final info box (short of refreshing the page).

    You’ll also see that my map has further problems which Evelyn’s fortunately doesn’t exhibit – the scroll ladder is obscured (but still works if you manage to position your mouse in the right spot) and there are regular vertical grey bars on the map (no info is lost in the gaps, the edges have just been “pushed apart”).

    I suspect the issues may be due to a Javascript conflict somewhere but am not competent to troubleshoot it so decided to cut my losses and start again using Ian’s plug-in which not only doesn’t have these problems but is much better supported.

    I’m just posting regarding Evelyn’s issue particularly with the info box (which looks identical to my issue with a different plug-in) in the hope that it might help Ian track down Evelyn’s issue.

    Ridgididgi

    Plugin Author Ian Dunn

    @iandunn

    evelynf and Ridgididgi, both of your problems are caused by a max-width property from your theme’s stylesheet affecting the map.

    You can try editing the style.css file in the plugin’s folder and changing line 49 from

    max-width: none;

    to

    max-width: none !important;

    Hi Ian,
    Thank you! That fixed it.
    I guess any future update of the plugin will
    include this? Or will an update overwrite the
    css file I changed?

    Thanks,
    Evelyn

    Plugin Author Ian Dunn

    @iandunn

    Yeah, the next version will include that.

    Hi Ian

    Thanks for your troubleshooting and advice.

    Although my theme uses the max-width property I don’t actually have any display issues with your plug-in so I haven’t needed to modify your style.css file.

    I had a look in the files for my other map plug-in but couldn’t readily see where I could put a “max-width: none” rule and after a while playing with possibilities I gave up in favour of concentrating my efforts on continuing the migration to your plug-in.

    Then I can just go back to waiting anxiously for the next version which will include shortcode arguments to specify the map center and zoom, so that my individual maps don’t all have to start from the one view 🙂

    Ridgididgi

    Plugin Author Ian Dunn

    @iandunn

    Version 1.6.1 adds more !important declarations to the default stylesheet to help prevent this.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] Hide PopUp Box?’ is closed to new replies.
Skip to toolbar