Hi,
Are you seeing the maps in admin?
It’s possible this is a conflict caused by your theme or another plugin. To check if it is, can you test with all other plugins deactivated and while running the default WordPress theme?
Hello,
Thanks for your answer.
Yes I tried with twenty sixteen and no other plug-in.
I don’t see any map, in FO and BO.
Are you seeing any errors in your Google Maps API Console?
I have no error on GMAC,
I can notice there is no trafic at all.
The parameters in Google Cloud Platform :
API Activated : Google Maps Javascript API, Google Maps geocoding API, Google Places API Web Service. The key is activated with no restriction at all.
Another thing to note : I use the same key to produce a playlist of my youtube channel for this website too with the help of Youtube Data API v3. And it works fine.
But still no map.
You need separate keys for the two services, you can’t generate a key for one service and use it for another.
Can you generate a new Maps API key and try that?
Ok,
so I separate them.
I made a new API key and referred to the 3 APIs : Google Maps Javascript API, Google Maps geocoding API, Google Places API Web Service
and it works.
So I tried to make http referrer : *.juricmusic.com/*
and I have a new problem, I have a shoot of javascript : It can’t accept the referrer, it’s false…I don’t understand.
So I gone back to refering to the APIs and it’s working again.
One of the most important problem is, it’s necesary to make a new place in the plug-in to see it working, and so remake all the “bugging” places, each time you make important changes in the API platform, to make it working.
Ok it’s working but not secure at all.
-
This reply was modified 8 years, 1 month ago by
Abracarambar.
Can you explain what you mean by
I have a shoot of javascript : It can’t accept the referrer, it’s false…I don’t understand.
?
When I add an http referrer for the key, Javascript console answers : the referrer is wrong.
Here is the referrer : *.juricmusic.com/*, I tried adding juricmusic.com/* and *.juricmusic.com, still wrong.
The correct format is:
*.juricmusic.com/*
What happens when you try that? I’m able to add exactly that to my API console and have it save correctly.
I would save that in your API, then wait a few hours for the API to update properly. If you’re still not seeing maps, do the theme and plugin test again.
maybe I forgot to add *. and/* at the beginning and end of the url. i will try that.
Hello again, when I try this, maps stops working. Nothing else.
Can you post the exact URL you’re adding when it stops working?