Home › Forums › WoodMart support forum › Google Maps only working when editing!
Google Maps only working when editing!
- This topic has 18 replies, 2 voices, and was last updated 6 months, 2 weeks ago by Luke Nielsen.
-
AuthorPosts
-
May 1, 2024 at 2:30 pm #562392
naderrahoulyParticipantHello, I’ve just followed all the steps to integrate google maps with my website.
When I’m editing with elementor it works smoothly, and I can see the map and my markers.
However, when I preview the site, I get a Referrenotallowed error.
I have set my restriction on google cloud to no restriction.
I cant seem to find a solution for this issue.
Attachments:
You must be logged in to view attached files.May 1, 2024 at 3:22 pm #562411
Luke NielsenKeymasterHello,
You need to adjust the Google API and use the API key to make it work – https://prnt.sc/bYsChwRmfuLo
https://developers.google.com/maps/documentation/javascript/get-api-key
Kind Regards
May 1, 2024 at 3:26 pm #562413
naderrahoulyParticipantIt is adjusted. I can see the exact marker location and map that I need in elementor view.
But when going for a live preview, the map doesn’t show anymore. I have added the API keys into theme settings and in the widget area. Still not working.
May 1, 2024 at 3:47 pm #562423
Luke NielsenKeymasterHello,
Send me access to the admin panel so I can check the settings on your website.
Looking forward to collaborating with you!
Kind Regards
May 1, 2024 at 3:57 pm #562432
naderrahoulyParticipantHello,
Okay I have granted access.
Please let me know what to change.
May 1, 2024 at 4:01 pm #562433
Luke NielsenKeymasterHello,
On my side, I see the API error which you can fix with the help of the below article:
Google Maps JavaScript API error: RefererNotAllowedMapError
Screenshot: https://prnt.sc/rRmblfuubwrD
Kind Regards
May 1, 2024 at 4:06 pm #562437
naderrahoulyParticipantHello,
I’ve been following these steps since the morning, I’ve done everything that the developer site says.
I have no restrictions on my google cloud platform, so this shouldn’t be the issue.
Attachments:
You must be logged in to view attached files.May 1, 2024 at 4:10 pm #562439
naderrahoulyParticipantand also my problem is not that is not showing at all. I can see the markers in elementor editor view, but not live.
May 1, 2024 at 6:27 pm #562464
naderrahoulyParticipantI’ve literally tried everything. I’ve read all the previous support forums and nothing.
I can’t find the issue.
Please help
May 2, 2024 at 10:18 am #562573
Luke NielsenKeymasterHello,
Enable the “Websites” – https://prnt.sc/ocwIN-gNe0l2 and define your website.
Let me know the result.
Kind Regards
May 2, 2024 at 11:32 am #562635
naderrahoulyParticipantHello,
Still nothing. I added my website in the syntax listed below but Im still getting the same error.
Map is showing in elementor but not in live preview.
May 2, 2024 at 11:36 am #562638
Luke NielsenKeymasterHello,
Please send me all settings from the Google API via screenshots so I can investigate them. I suggest sending them via private content.
Kind Regards
May 2, 2024 at 11:41 am #562645
naderrahoulyParticipantPlease fine the attached screenshots.
May 3, 2024 at 11:18 am #562982
naderrahoulyParticipantI’ve done everything to fix this and it’s impossible. Regenrated API keys, added multiple referrers, had no restrictions. Keep getting the same issue.
May 3, 2024 at 2:41 pm #563054
Luke NielsenKeymasterHello,
Most likely, the URL is not valid please recheck it. Also, try to select the IP address instead of the website. In the end, you should have a green checkmark showing that the API is working.
Screenshot: https://monosnap.com/file/ifzfu0Vod3hPSg4v3mZOHCnkPNby2J
Kind Regards
May 3, 2024 at 2:57 pm #563058
naderrahoulyParticipantHello,
I tried this, but now its not even opening in elementor.
I tried to remove restrictions, now showing only in elementor
Do you think my domain is the problem, I am still using the xxx.wpcominstage.com domain.
Also, I am getting the green check , but not working on the live site.
May 3, 2024 at 4:27 pm #563082
Luke NielsenKeymasterHello,
We checked your site again and see that in the dropdowns you have a map with an invalid key – https://monosnap.com/file/oLHAtcEMTyMtcKMCsAZqAywVeNmK7z
We have disabled this dropdown on your site and your map started to work well.
Kind Regards
May 3, 2024 at 5:43 pm #563097
naderrahoulyParticipantThank you so much for this.
Can finally see it in live preview.
Appreciate it.
May 6, 2024 at 9:45 am #563412
Luke NielsenKeymasterHello,
In case you need any additional help, I’d be more than happy to assist you.
Wish you all the best.
Kind Regards
-
AuthorPosts
The topic ‘Google Maps only working when editing!’ is closed to new replies.
- You must be logged in to create new topics. Login / Register