Store Locator Plus® for WordPress › Forums › Premier Support › Google Map not loading / API Key problem?
Tagged: api
- This topic has 4 replies, 2 voices, and was last updated 6 years, 4 months ago by Cici.
-
AuthorPosts
-
August 13, 2018 at 5:01 AM #57207imageiParticipant
Hi Support
Yesterday my client reported the ‘Find a Store’ was not loading with a message saying Google maps could not load it properly.
https://apa.uk.com/find-a-practitionerI thought this was perhaps due to a problem with the API key so I took a look under SLP / General / Server /Google API Server Key and saw there was no key at all.
I generated a new project and enabled Maps Static API (Simple, embeddable map image with minimal code) entering my billing card info for the 365 day free trial at https://console.cloud.google.com/apis/credentials.
Then I pasted the key into SLP / General / Server / Google API Server Key.
Still no luck. 🙁
Store Locator Plus:4.4.35
Pages:4.4.07
This Info Cached:1534105702
WordPress Version:4.9.8
Site URL:https://apa.uk.com
MySQL Version:5.5.59
PHP Version:5.6.37
PHP Limit:256M
WordPress General Limit:40M
WordPress Admin Limit:256M
PHP Peak RAM:29 MB
PHP Post Max Size:50M
Any suggestions?
August 13, 2018 at 11:18 AM #57211CiciKeymasterYour SLP is not up to date so we cannot venture to guess, and I have no idea what the back end of that version looks like since there have been many updates over the past yeasr (or longer, I really do not recall when it was version 4.4 but I assume a while ago, over a year for sure. I would suggest you switch to the MYSLP subscription service but it does not include the SEO Pages functionality as yet, it will be coming hopefully in the fall this year.
If you had a Google API key before there was no need to generate a new one , instead you needed to merely add a billing account. There are no free rides any longer with google third party Map services so if you found one for free for a year….its not the right one to work here.
a static MAP with free trial is not what is needed you need an unrestricted Google BROWSER Javascript KEY as explained in our news and our documentation.. You normally could restrict the HTTP protocol with a referrer restriction but that only became available with SLP 4.9.15
The error message on that page explains it all:
Google Maps JavaScript API error: ApiNotActivatedMapError
https://developers.google.com/maps/documentation/javascript/error-messages#api-not-activated-map-errorPlease read these two news articles and posts with links to get you to the right API info:
https://www.storelocatorplus.com/google-api-key-changes-coming-june-11-2018/
https://www.storelocatorplus.com/google-map-services/
Unfortunately since you are using an outdated version of the software we are not able to assist beyond the suggestions above.
- This reply was modified 6 years, 4 months ago by Cici.
August 13, 2018 at 11:22 AM #57213CiciKeymasterWHOA…peter why are using the outdated Add-on and SLP? Yu have a premier subscription
Please back up your site, then update to the correct versions of SLP and the plugins . Is there a reason why you are not using latest versions?
August 18, 2018 at 2:11 AM #57272imageiParticipantThanks for replying Cici
With your help we have map working again. I needed the unrestricted Google BROWSER Javascript KEY not the static map of course.
I have a new site in development for the client with an updated SLP but progress has stalled.
I have suggested to the client that if its not going to be completed anytime soon we need to update the live site.Thanks so much for your help.
August 21, 2018 at 10:40 AM #57303CiciKeymasterthx for letting us know!
-
AuthorPosts
- The topic ‘Google Map not loading / API Key problem?’ is closed to new replies.