When I try to create a location I get an error message (“This page didn’t load Google Maps correctly.”) in the box where the map should appear and the console says:
Your site URL to be authorized: http://fireweed-photography.dev/wp-admin/admin.php?page=wpgmp_form_location&doaction=edit&location_id=1
On the Google API Manager Credentials I restricted the key to HTTP referrers using *.fireweed-photography.dev/* which looks like the correct way to do it.
With no restrictions on the API key adding the location works but using the recommended site restriction it does not. Can you assist?
That mean your referrer is not correct and using wrong api key. Are you using any old api key? Please create a referrer like this *fireweed-photography.dev/*. Please send me your page url where map is located so i can check also.
Thanks for your help. Your suggestion about creating the referrer as "*site/*" was correct. When I had it as "*.site/*", that is, with a period after the initial wildcard it did not work, resulting in the error message. Interestingly, both your "Google Map API Troubleshooting" tip ("3. Check HTTP referrers. It must be *.yourwebsite.com/*" ) and the pattern shown by Google have a period after the initial wildcard and cause the error. Strange.
This question is now closed