Maps Will Not Work | Directory | Support

Support Forum

We use and recommend UK2 for hosting - get a month free

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register sp_MemberList Members

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Maps Will Not Work
4th May 2019
1:58 am
Avatar
Member
Members
Forum Posts: 4
Member Since:
25th March 2019
sp_UserOfflineSmall Offline

I've tried everything I can think of and still can't get any maps to work. The maps show the Indian Ocean near the Island of Seychelles rather than Florida in the US. All of the Latitudes and Longitudes for each family in the directory are identical and do not change. I've followed the tutorial for establishing and entering my API Key. I've given up. Help if you have any ideas on what to try next. Thanks!

4th May 2019
9:14 am
Avatar
Admin
Forum Posts: 675
Member Since:
4th March 2015
sp_UserOfflineSmall Offline

Google haven't made it easy to do, that's for sure. Mostly it's no credit card on the account or it's not been locked to the domain well....
(The credit card is daft as you won't get enough traffic to be charged anyway!)
To diagnose
If you open an page/backend page that has a map on it then right click and click insect. You will get some developer tools underneath.
Click on "console" and there will be some red errors, copy and paste those and it will tell me what the issue is.

Or email me the directory password and I will look! My email is support@ the domain above!

If you are finding the plugin useful, please subscribe to the app - it's free for your congregation to use and only £9.99pm for a church subscription

4th May 2019
12:44 pm
Avatar
Member
Members
Forum Posts: 4
Member Since:
25th March 2019
sp_UserOfflineSmall Offline

Hi Andy,
Thanks for the quick reply! This is the console error:

js?key=AIzaSyDX4DjsQ-63Nwpt49vDUq1tIXNXusZD6yM&ver=5.1.1:52 Google Maps JavaScript API error: RefererNotAllowedMapError
https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error
Your site URL to be authorized: https://antiochchurchofchrist.org/wp-admin/admin.php?page=church_admin%2Findex.php&action=edit_household&household_id=1&_wpnonce=119f77d426

4th May 2019
1:49 pm
Avatar
Admin
Forum Posts: 675
Member Since:
4th March 2015
sp_UserOfflineSmall Offline

Okay, so my tutorial is out of date as the links have changed. Thanks Google.
Go to
https://console.cloud.google.com/home/dashboard
Select your project if you have more than one
On the left hand side click on "Apis and Services"
The on "Credentials"
Then on your API key name
Then select"Http referrers"
Underneath there is "Website restrictions"
Click on "ADD AN ITEM"
Then add your site like this
*.antiochchurchofchrist.org/*
Click Done
Click Save

Give it 10 mins or so and all should be good.

If you are finding the plugin useful, please subscribe to the app - it's free for your congregation to use and only £9.99pm for a church subscription

5th May 2019
1:38 pm
Avatar
Member
Members
Forum Posts: 4
Member Since:
25th March 2019
sp_UserOfflineSmall Offline

Hi Andy!
I'm not sure if I've solved my problem with Google or not but I do have another problem in the console. This is the notice:

admin.php?page=church_admin%2Findex.php&action=display_household&tab=people&household_id=1&_wpnonce=76908e5276:354 Mixed Content: The page at 'https://antiochchurchofchrist.org/wp-admin/admin.php?page=church_admin%2Findex.php&action=display_household&tab=people&household_id=1&_wpnonce=76908e5276' was loaded over HTTPS, but requested an insecure image 'http://maps.google.com/maps/api/staticmap?key=AIzaSyDX4DjsQ-63Nwpt49vDUq1tIXNXusZD6yM&center=-0.148193359375,51.50351129583287&zoom=15&markers=-0.148193359375,51.50351129583287&size=500x300'. This content should also be served over HTTPS.

Thanks!

Forum Timezone: Europe/London

Most Users Ever Online: 35

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

David Z.: 76

Rich Cox: 60

Allen: 51

rrfranks: 40

Gavin: 35

Janeen: 23

365sussex: 21

ehout: 20

Jay Jones: 19

matta: 18

Member Stats:

Guest Posters: 39

Members: 362

Moderators: 0

Admins: 1

Forum Stats:

Groups: 4

Forums: 13

Topics: 431

Posts: 1628

Administrators: andymoyle: 675