Store Locator Plus® for WordPress › Forums › Premier Support › Map/Locations Not Showing & Google API Keys
Tagged: Google API, locations, map
- This topic has 7 replies, 3 voices, and was last updated 8 years, 6 months ago by Shad.
-
AuthorPosts
-
June 23, 2016 at 4:47 PM #41767ShadParticipant
When creating a new site, whether using older legacy plugins or the most up to date version of slp (4.5.06), neither the slp map nor locations are showing up.
A view of errors on the page results in :
<p style=”text-align: left;”>Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error</p>
<p style=”text-align: left;”>_.ab @ js?language=en®ion=US&ver=4.5.06:32</p>
If I create a google API and add it into General Settings, the map and locations then appear.From my understanding we shouldn’t need to insert a google API in order for the plugin to work though, correct?
This is only affecting new sites. All previously created sites are running perfectly fine without the google api code.
Any idea as to why this might be happening?
site: lauraelling.com
Attachments:
You must be logged in to view attached files.June 23, 2016 at 5:28 PM #41772ShadParticipanthttps://developers.google.com/maps/pricing-and-plans/standard-plan-2016-update
Looks like Google Maps API plans has updated.
“Active domains created before June 22, 2016, continue to be able to access the Google Maps JavaScript API, Static Maps API, and Street View Image API without an API key. They are not affected by keyless access being unavailable for new domains.”
June 24, 2016 at 4:09 PM #41780CiciKeymasterWell well well, isn’t that special! I guess we can’t plead ignorance, they have been providing warnings in the consoles for a while now, I guess I will let Lance write a new blog on this
June 26, 2016 at 4:39 PM #41789CiciKeymasterHi Shad,
Just to clarify, the SLP plugin is not the issue. As you referenced this is something Google is now requiring for any new domains. This is not something within the power of plugin authors to control. Google is not selling an overarching license to any developer to allow them to use the map api for multiple new site domains is the way I am reading it. Each new domain has to have its own API key. We suspect that they will i the future push for pay as you go, as they mention the free API key allows quite a few look-ups per day. Speak to Lance on Slack and he can provide you more detail. He is back in the office starting tomorrow.
thanks for bringing it to our attention.
June 26, 2016 at 4:44 PM #41790CiciKeymasterP.S. I am reading the same in other WP developers support chains that are using Google MAP API keys, and their forum posters are reporting same issues.
June 27, 2016 at 12:27 PM #41815ShadParticipantHi Cici,
From what we can tell, it is NOT the SLP Plugin itself and is solely a Google Maps API update. We will keep you posted if we run across any new info.
Shad
June 27, 2016 at 1:05 PM #41825Lance ClevelandKeymasterGoogle is now (as of a few days ago) requiring API keys on ALL map requests from any domain that has not had a map request in the past few months.
That means EVERY SINGLE NEW WEB ADDRESS where you place a Store Locator Plus map will need to have a registered Google API key. They key is free but they only allow so-many page loads per day before you have to start paying for map loads.
I saw the writing on the wall over a year ago when they “suggested” getting an API key. It was more obvious in the past 6 months when you started seeing “No API Key” warnings in all JavaScript calls if you did not enter a valid Google API Key under Store Locator Plus General /Server / Google Server API Key. Then last week they turned that warning into an error.
I’ll be updating SLP to be more obvious about this, but the short answer is that you must now have a Google API key registered for every website.
June 27, 2016 at 1:12 PM #41826ShadParticipantThat’s pretty much the conclusion we came to as well 🙂
-
AuthorPosts
- The topic ‘Map/Locations Not Showing & Google API Keys’ is closed to new replies.