Store Locator Plus® for WordPress › Forums › Store Locator Plus › Split: Could not locate this address. Please try a different location.
- This topic has 4 replies, 2 voices, and was last updated 6 years, 2 months ago by Cici.
-
AuthorPosts
-
September 3, 2018 at 1:26 PM #57420carolinaParticipant
Hi, I have the same problem in my site: https://doceamor.com/onde-encontrar/
If you type in any ZIP, you’ll get the message “Could not locate this address. Please try a different location”.
Can you help me?
Thanks.
September 3, 2018 at 3:50 PM #57421CiciKeymasterPlease refer to the posting in the forum guidelines.
It is not a good idea to glom onto another persons post, you may have different versions of the plugin. Also the first sentence, i.e Did you get a Google API key. Looking at your url, you have many errors or involving the Google APi keys:
=4.9.19:95 You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.
Mg @ js?libraries=geometry&language=pt-BR®ion=BR&key=
js?libraries=geometry&language=pt-4.9.19:39 Geocoding Service: This API project is not authorized to use this API. For more information on authentication and Google Maps JavaScript API services please see: https://developers.google.com/maps/documentation/javascript/get-api-key
_.Nb @ js?libraries=geometry&language=pt-
slp_core.min.js?ver=1535755981:1 Map set to fallback lat/lng: -30.0281574 , -51.2286422I have no idea what location you are trying to load, but you need to enable the geocoding API for your site. The error message on your site states that specifically you have not enabled or if you did, it is not authorized for the site you are trying to use it on.
See documentation
September 3, 2018 at 4:16 PM #57425CiciKeymasterCarolina, to clarify, I am guessing that you added the Google MAPS Javascriot API and pasted the exact same key in both fields. that would explain the first error message we see on your site. i.e Google Maps Javascript used multiple times. Both errors point to SLP version 4.9.19.
There are two places to enter keys. You only need to add the Maps Javascript API key under the First one if you did not restrict via referreres.
The seond error shows that you did not enable the Geocoding API that you need to have for a search by zip code or to be able to geocode any locations with correct lat/long.
As mentioned in our Getting started documentation you do not need to get a separate Key but you DO need to authorize the Geocoding API in your Project. Google bills the two services at different rates, therefore they need to ensure that you have both APIs
Your other option is to try the MySLP subscription plan for your site. You would probably want to be able to modify the results layout. if so you would want the professional plan. You can always start out with the Advance plan and move up to which ever plan best meets your needs,September 10, 2018 at 7:56 AM #57491carolinaParticipantThanks a lot for your help!
Problem solved! It was the Geocoding API authorization.
best regards,
CarolinaSeptember 10, 2018 at 4:18 PM #57495CiciKeymasterThanks for letting us know
-
AuthorPosts
- You must be logged in to reply to this topic.