Hi,

We have updated to the latest version of the GK_photo template and in the process we have added our Google Maps API code into the gk.scripts.js file.

Previously the map was flashing up with an error but now that we have inserted our API code - AIzaSyCycW__6f_g1Z7teUu7BIkhU_GHbkH8cuY

If we look at the website console it displays the following error:

JQMIGRATE: Migrate is installed, version 1.4.1
gk.scripts.js:135 Uncaught SyntaxError: missing ) after argument list
beach-bros-ltd:130 Uncaught TypeError: $(...).find(...).popover is not a function
at initPopovers (beach-bros-ltd:130)
at HTMLDocument.<anonymous> (beach-bros-ltd:130)
at i (jquery.min.js?95c73917c8e73d848039055972a93a37:2)
at Object.fireWith [as resolveWith] (jquery.min.js?95c73917c8e73d848039055972a93a37:2)
at Function.ready (jquery.min.js?95c73917c8e73d848039055972a93a37:2)
at HTMLDocument.K (jquery.min.js?95c73917c8e73d848039055972a93a37:2)

    Oliver-Beach Hi. The API key should be placed in the contact where map is being called by adding data-key="" attribute. There is no need to extend function.

    Write a Reply...
    You need to Login to view replies.