Okay
  Public Ticket #262933
Google map not showing
Closed

Comments

  • Ronald started the conversation

    Last week i fixed a contact page with the Google map and it was working perfectly. I found out today that it just won't show up anymore. I looked everywhere on this forum and tried many fixes but nothing will work. Of course i use the latest theme version.

    Further details: added a map with the visual composer, set the right lati and longi and i use the standard tenmplate for this page.

    What can be wrong here?

  •   Ronald replied privately
  • Ronald replied

    Found the solution:

    1. The map was not showing up because i use a https connection for my website and the URL http://maps.google.com was blocked by the browsers.

    2. Fix:

    Find this code in /js/map.js:

    $.getScript('http://maps.google.com/maps/api/js?sensor=false&callback=mapAPI_Loaded');

    and change in into:

    $.getScript('https://maps.google.com/maps/api/js?sensor=false&callback=mapAPI_Loaded');

  •  8,839
    Tahir replied

    Hey Ronald!

    Thanks for posting the solution. 

    Cheers


    ThemeNectar Support Team