I am having trouble getting the Google Maps plugin to work.

Hello,

I am having trouble getting the Google Maps plugin to work. I created the map and installed the shortcode but all I get is a blank page. I am wondering if there is a conflict with the theme?

Here is the page in question. http://luciano.valkeryie.com/find-us/

Thank You

  • Milan
    • WordPress Wizard

    Hey Shauna

    Hope you are well today and thanks for asking us question. :slight_smile:

    First of all which theme you are using for your site ? And do you mind if I access your site via our staff access. ? If that seems okay to you, then please grant me staff access to your site via WPMU DEV > Support > Support Access > Grant Access. You can follow markers displayed in this screenshot for easier navigation Shauna :slight_smile:

    [attachments are only viewable by logged-in members]

    But before you grant me staff access, please open your wp-config.php file and replace this line,

    define( 'WP_DEUB', false );

    with this one,

    define( 'WP_DEUB', true );

    Looking forward to hearing back!

    Cheers,

    Milan

  • Adam
    • Support Gorilla

    Hello Shauna!

    I’ve accessed your site and reviewed its settings. I noticed that you’re using two different Google Maps plugins at once and it seems this is causing conflict. Furthermore, due to the way those plugins work disabling the second one doesn’t help here.

    However, I changed the settings of WPMU Google Maps plugin to use different shortcode (“[agm_map]” instead of default “[map]”:wink: on the “Settings -> Google Maps -> Options” page. Then I replaced the shortcode on the page with new one and cleard WPFC cache and the maps now show up on the page.

    All new maps should automatically insert this new shortcode from now on.

    I hope that helps!

    Best regards,

    Adam

  • Shauna
    • WPMU DEV Initiate

    It now works fine. However I do have a few other questions. I am getting an error “There was an error geocoding your location” when I click on directions, is this something I did not configure properly? Also is it possible to load my locations on the side of the map instead of underneath?

  • Predrag Dubajic
    • Support

    Hi Shauna,

    I had a look at your find us page but couldn’t replicate the issue with the directions, can you tell us if it happens only for certain markers and perhaps attach a screenshot of where you’re seeing it?

    Also is it possible to load my locations on the side of the map instead of underneath?

    You will first need to edit your map to reduce its width and then add this CSS code and adjust the width of locations holder in the code (now is set to 400px in code) so that both elements fit in the width of your page:

    div[id^="map_"] {
    float: left;
    }

    .agm_mh_footer {
    display: inline-block;
    width: 400px;
    }

    Best regards,

    Predrag

  • Shauna
    • WPMU DEV Initiate

    I have added a screenshot. Either the page is not responsive when i click on directions or I have to click it about 8 times for the error to come up. I added the css code but I was unsure where I needed to reduce the size. Is there a repository where I can look up all the custom css code

  • Milan
    • WordPress Wizard

    Hey Shauna

    We have sorted this out during our last chat session. :slight_smile: So I am closing this thread and marking resolved. :slight_smile: In case if this issue comes up again, you can always reopen this thread.

    If you have any more queries, please feel free to open new thread.

    Enjoy WPMU DEV.

    Cheers,

    Milan