Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

TOPIC: Map not displaying

Re: Map not displaying 5 years, 5 months ago #33973

Hi admin, I have done exactly that in my website but still I get this error in my firebug console:

"Google Maps API error: MissingKeyMapError developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error" js:34:3

"Google Maps API warning: NoApiKeys developers.google.com/maps/documentation/javascript/error-messages#no-api-keys" util.js:222:12

"Google Maps API warning: SensorNotRequired developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required"

Am I missing something?

Re: Map not displaying 5 years, 5 months ago #34040

Dear ecobiz

Please add your key for our module.
The first the the layout that you are using in our module in the advanced tab: if it is the default layout
go to the layout default in our template: /html/mod_sj_contact_ajax/default.php
Find the the code about script googla maps like below:
eg:
<script async defer src="maps.googleapis.com/maps/api/js?key=AIzaSyCQWWXmpIaE1c5jU5bOPh1YNkiD3L6m_NQ&callback=initMap"
type="text/javascript"></script>

=> change to:

<script src="maps.googleapis.com/maps/api/js?key=your_API-key"></script>

then change the your_API-key in the line code above.

eg:
<script type="text/javascript" src="maps.googleapis.com/maps/api/js?key=AIzaSyBaeYfTIyvWkCMqvtMqigOkho69kiL3QUY"></script>

Please get your api key here: developers.google.com/maps/documentation/javascript/get-api-key

if it doesn't work, please send us the information of your site in the box for the admin to check directly?

thanks
Time to create page: 0.21 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes