Okay
  Public Ticket #949009
Google maps error
Closed

Comments

  •  2
    Enrique started the conversation

    Hi, 

    Can you help me please with google maps? it doesnt work. It seems that is a problem with Javascript

  •  1,511
    Support Agent 1 replied

    Hi,

    In order to resolve the issue with Google Map, please follow the next steps:

    1. First of all, you will need to create an API key as per instructions here: Get api key.
    2. After creating, please locate the cargo.php file in Plugin Editor and replace the following:
    wp_enqueue_script( 
                'gmaps_api',
                'https://maps.googleapis.com/maps/api/js?v=&sensor=false'
            );
    

    with:

    wp_enqueue_script( 
                'gmaps_api',
                'https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY'
            );
    

    Please change the YOUR_API_KEY with newly created API key and let us know if this resolves the issue.


    Regards, BoldThemes team

    If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!

  •  2
    Enrique replied

    Hello, I have already created the api on google, but I couldn´t find the cargo.php file. Where else can I paste the code?

    Thanks

    Please advice

  •  1,511
    Support Agent 1 replied

    HI,

    The cargo.php file is located in Cargo plugin's folder.


    Regards, BoldThemes team

    If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!

  •  2
    Francesca replied

    Thanks for help (Solved)