Okay
  Public Ticket #1313483
Google Map API
Closed

Comments

  •  2
    FlowMedia started the conversation

    I can't find the location to put the google map api in the adhoc template.

    There is no "API KEY" box above longitude and Latitude in rapid composer like it shows in your article screen shot.
    Where is the other location to put this API in?
    Thanks

  •  630
    Support Agent replied

    Hi,

    In order to add API KEY, please go to Plugin's editor, and select ad_hoc_portfolio.php file. In that file, locate the following line of code:

    wp_enqueue_script( 
                'gmaps_api',
                'https://maps.googleapis.com/maps/api/js?v=&sensor=false'
            );

    and replace it 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
    FlowMedia replied

    This has fixed the problem thank you very much

  •  630
    Support Agent replied

    Hi,

    The noted line of code should be somewhere around line 849. Please have a look at the screenshot.

    Let us know if you need additional help.

    Regards, BoldThemes team

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