Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1233629
    Boans
    Participant

    Hey you all,

    I am trying to get a full width Google map to work using your [google_map] shortcode as explained here:

    Map

    but with a height of 300px, no margins and a custom hue as below:

    [google_map lat=”51.505749″ lng=”-0.124809″ zoom=”12″ height=”200px” hue=”#1ca0d8″][/google_map]

    and no matter what I do I just get an error within that window that says ‘Oops, something went wrong” and refers me to the Java console.

    I am running the latest version of everything and have no custom modifications.

    Has there been a change in this lately?

    #1233896
    Friech
    Moderator

    Hi There,

    Thanks for writing in! Google maps now requires an API key: https://googlegeodevelopers.blogspot.ca/2016/06/building-for-scale-updates-to-google.html

    Please update your Google map shortcode to this:

    [x_google_map api_key="API KEY HERE" lat="51.505749" lng="-0.124809" zoom="12" zoom_control="false" drag="false" height="200px" hue="#1ca0d8" no_container="true" ][/x_google_map]

    Creating your Google Maps API Key

    Hope it helps, Cheers!

    #1233944
    Boans
    Participant

    Thanks !

    #1234098
    Nico
    Moderator

    You’re most welcome

    Feel free to ask us again.

    Thanks.

  • <script> jQuery(function($){ $("#no-reply-1233629 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>