• Resolved aspaee

    (@aspaee)


    HI,

    I am using page builder to build a contact page and google maps is not showing at front end.
    I am using an API key and the url of the page is: https://www.promith.gr/word/443-2/
    (The page is in Greek so you could not find it otherwise)

    The map is properly set because in the widget preview it shows correctly.

    thanks

    • This topic was modified 7 years, 10 months ago by aspaee.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Its not a problem with plugins but another js who load api by the theme.
    The solution is here, if you have created api key on google developer page and have installed Wp Google Maps Plugin, you can add that simple JS on footer or to any other page you want to load Google Maps.

    <script type=”text/javascript”
    src=”https://maps.googleapis.com/maps/api/js?key=PUT_YOUR_KEY_HERE&libraries=geometry,places”>
    </script>

    I just used Geometry and Places to load on Google Maps, bur you can add other options there.
    This JavaScript its not only for WordPress CMS but you can use it on other platforms either.

    I just tested it to some platforms and worked well

    Peace ??

    Thread Starter aspaee

    (@aspaee)

    Thank you for the reply.
    I have been trying to make this to work but I can’t.
    How to add on contact page? or footer?

    Thank’s again for your help!!

    Thread Starter aspaee

    (@aspaee)

    I have found the solution for this. Another plugin was loading the google map api all over the place. deleted the plugin and everything worked like a charm!!
    Thank you for your help!!

    Good to know you found the solution, and sorry for my late response.
    For others:
    This JS put before </body> closed body TAG.

    Peace

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Google maps not showing at front end’ is closed to new replies.