Home › Forums › WoodMart support forum › google maps
google maps
- This topic has 16 replies, 2 voices, and was last updated 10 months, 1 week ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
February 9, 2024 at 9:17 pm #538564
fcoerezzaParticipantHi support,
I can’t display google map on the page https://al.recruitix.me/contattaci/
I inserted a valid maps api key in the settings, but nevertheless I can’t see the map.
The is a problem in the JS, as for I understood. See images attached
regardsAttachments:
You must be logged in to view attached files.February 10, 2024 at 3:51 pm #538704
Aizaz Imtiaz AwanKeymasterHello,
Please read the following article for help in fixing the issue:
https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-errorBest Regards.
February 11, 2024 at 7:05 pm #538864
fcoerezzaParticipantsorry, but I’m not a tech guy. I tried to find the same text in the page you sent me, unsuccessfully.
what I did was to enter the maps api key, and generally, all works fine, so please give me some hints on how to solve it.
thank youFebruary 12, 2024 at 12:35 pm #538997
fcoerezzaParticipantmore details on the error. In chrome I have:
Uncaught TypeError: Cannot read properties of undefined (reading ‘Animation’)
at googleMap.min.js:1:602
at Array.map (<anonymous>)
at HTMLDivElement.<anonymous> (googleMap.min.js:1:474)
at Function.each (jquery.min.js:2:3129)
at e.<computed>.each (jquery.min.js:2:1594)
at woodmartThemeModule.googleMapInit (googleMap.min.js:1:250)
at HTMLDocument.<anonymous> (googleMap.min.js:1:2474)
at e (jquery.min.js:2:27028)
at t (jquery.min.js:2:27330)while in firefox
Uncaught ReferenceError: Maplace is not defined
googleMapInit https://al.recruitix.me/wp-content/themes/woodmart/js/scripts/elements/googleMap.min.js:1
jQuery 2
googleMapInit https://al.recruitix.me/wp-content/themes/woodmart/js/scripts/elements/googleMap.min.js:1
<anonymous> https://al.recruitix.me/wp-content/themes/woodmart/js/scripts/elements/googleMap.min.js:1
jQuery 2and in this case it’s an error in your JS
February 12, 2024 at 2:18 pm #539037
Aizaz Imtiaz AwanKeymasterHello,
Please deactivate all the 3rd party plugins and activate only theme-required plugins on the site and then check the issue. I am sure your issue will be solved. Then Activate the 3rd party plugins one by one and check which plugin is creating the issue for you.
Otherwise, if the issue still exists then keep the 3rd party plugins deactivated and share the WP admin login details of your site so I will check and give you a possible solution.
Best Regards.
February 12, 2024 at 6:14 pm #539204
fcoerezzaParticipantI attach the admin credentials
Anyway, I found the problem is something known, as already happened in the past: https://xtemos.com/forums/topic/google-map-not-working-uncaught-referenceerror-maplace-is-not-defined/
February 13, 2024 at 12:12 pm #539433
Aizaz Imtiaz AwanKeymasterHello,
There is no issue from the theme.
This is a common issue with the Google Maps API.
Google Maps API is no more free. It requires that you just need to activate these services https://tppr.me/mVwUL and then add limits as below to manage your bills.
It was sure not to work this API key. But it was worth a try to check the Google Console.
Geocoding Service: You must use an API key to authenticate each request to Google Maps Platform APIs. For additional information, please refer to http://g.co/dev/maps-no-account For more information on authentication and Google Maps JavaScript API services please see: https://developers.google.com/maps/documentation/javascript/get-api-key
Then set up your quotas.
Geo Coding API https://tppr.me/cjrgq
Javascript maps API https://tppr.me/7voj4
Places API https://tppr.me/1ytQ0
Street view API https://tppr.me/bMPdDBest Regards.
February 13, 2024 at 6:49 pm #539647
fcoerezzaParticipantHi, I checked several times what you wrote, and all is fine on google maps settings: api services, domains … but nevertheless I cannot display a google map.
I see the google map in the editor page, but not in the front-end.As for the image attached I keep on insisting to say the problem is on your side, as the JS that failed are your JS.
you can try yourself at al.recruitix.meAttachments:
You must be logged in to view attached files.February 14, 2024 at 5:10 pm #540086
Aizaz Imtiaz AwanKeymasterHello,
A certain plugin affects the loading of map scripts using its own attribute
“data-cmplz-src”
(https://prnt.sc/Z-rwLtVcjDz5). To solve this problem, you need to disable third-party plugins not related to our theme.Best Regards.
March 6, 2024 at 7:40 pm #546777
fcoerezzaParticipanthi support, please help me with the issue of displaying the maps. I still get the error in the js console:
js?libraries=geometry&callback=woodmartThemeModule.googleMapsCallback&v=weekly&key=AIzaSyD4_OAXydyCwqesQt4khZyOLYr-5FiQApQ:145 Google Maps JavaScript API error: ExpiredKeyMapError
https://developers.google.com/maps/documentation/javascript/error-messages#expired-key-map-errorAnyway the API maps settings are correct. Look at the image attached.
How can I solve this issue?Attachments:
You must be logged in to view attached files.March 7, 2024 at 1:21 pm #546976
Aizaz Imtiaz AwanKeymasterHello,
Your site is not working for me anymore, I think the site is down:
Best Regards.
March 7, 2024 at 4:07 pm #547045
fcoerezzaParticipantsorry for that! we’re in production now. the link is https://acinolilla.com/contattaci/
March 8, 2024 at 3:55 pm #547444
Aizaz Imtiaz AwanKeymasterHello,
I have found that the API key is expired. https://monosnap.com/file/0c3ZHKSZ9xfzHUCp5I7J0038sNORgj
Please regenerate the new API key for the Google map and use it on the site.
Best Regards.
March 8, 2024 at 7:54 pm #547522
fcoerezzaParticipantsorry, we moved to production in the meanwhile. the site is acinolilla.com
credentials are the sameMarch 9, 2024 at 4:13 pm #547688
Aizaz Imtiaz AwanKeymasterHello,
I have found that the API key is expired. https://monosnap.com/file/0c3ZHKSZ9xfzHUCp5I7J0038sNORgj
Please regenerate the new API key for the Google map and use it on the site.
Best Regards.
March 11, 2024 at 10:59 am #547914
fcoerezzaParticipantthis is a generic description. I also thought initially that this is the issue, but it was not. I already regenerated the key, but nevertheless the problem still persists. The problem is somewhere else
March 12, 2024 at 10:16 am #548335
Aizaz Imtiaz AwanKeymasterHello,
It is still showing the expired map key error in the console so it means the API key that you have used in the theme settings is still expired: https://ibb.co/zXbZP9J
Best Regards.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register