Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 8.6.11, api, google maps, key
- This topic has 11 replies, 2 voices, and was last updated 8 years, 10 months ago by
Steven Zahm.
-
AuthorPosts
-
10/11/2017 at 5:25 am #437514
Dariusz
GuestMy directory is https://longislandinterventions.com/recovery-resources
I’ve searched the forums but can’t find a solution. I’ve followed the directions here how to get google maps key:
https://connections-pro.com/documentation/create-google-maps-api-keys/
I’ve got a Server and API key and added them to the correct places in plugin settings. I have the Google Maps setting CHECKED in “advanced”. I took off all restrictions off both keys to see if it would help, to no avail.
When I press “Geocode” in the listings i get the message:
Oops! Something went wrong.
This page didn’t load Google Maps correctly. See the JavaScript console for technical details.
When I check the javascript console i get a bunch of errors/warnings, and multiple say things about google maps.
I’ve attached photos of both my google API page and the plugin settings page related to google maps.
PLEASE HELP!!
![enter image description here][1]
10/11/2017 at 5:37 am #437515Dariusz
GuestThis reply has been marked as private.10/11/2017 at 5:54 am #437516Dariusz
GuestHere is photo of all the javascript console errors for your reference:
I appreciate your assistance. I can’t figure out what i’m doing wrong.
10/11/2017 at 10:11 am #437572Steven Zahm
Keymaster@ Dariusz
Have you made sure to enable the Google Maps API in the API Console as outlined in the doc?
Looking at the error messages in your screenshot, the error is
MissingKeyMapErrorwhich means no API was supplied.I also see that there is two instances of the API being loaded, it is possible the second one that is being loaded is being loaded without an api key. Check you other plugins and theme settings to see any require an api key. If one does, use your browser api key for the other plugin/theme.
Hope this helps, let me know.
10/11/2017 at 1:15 pm #437583Dariusz
GuestI’m at a loss. I’m not sure what youre referring to when saying enable the google maps API in API console. I have the Javascript enabled and Geocoding enabled per directions (see attached link)
The only other API key on the website i think is the theme (enfold) that has API key from ThemeForest added, i’m not sure how that has anything to do with it or how to change that.
:(
10/11/2017 at 2:01 pm #437584Steven Zahm
Keymaster@ Dariusz
RE: I’m at a loss. I’m not sure what youre referring to when saying enable the google maps API in API console.
In the Google API Console (the Google site where you created the API keys), make sure you have the Google Maps API libraries enabled … judging by your last screenshot you do.
RE: The only other API key on the website i think is the theme (enfold) that has API key from ThemeForest added, i’m not sure how that has anything to do with it or how to change that.
No, that is not what I am referring to…
The screenshot where you show the browser console, the errors listed on the WP admin page … there is an error listed by Google which states the Google Maps API is loaded twice on the page.
That error indicates that another plugin or the theme is also loading the Google Maps API. If that second instance being loaded does not have an API key, you will get the
MissingKeyMapErrorfrom Google.I suggest the plugin conflict check. Something else is loading the Google Maps API on the page and it does not have the key, likely overriding what you’ve setup for Connections.
10/11/2017 at 3:20 pm #437585Dariusz
GuestThanks, I’ve disconnected all plugins and still error messages + no map.
I’m giving up.
I have another question, how can I center the image in mobile view? It looks off and not presentable in mobile view when alighted right (see attached image)
10/11/2017 at 3:44 pm #437589Steven Zahm
Keymaster@ Dariusz
Give me an admin login, posted here as a private reply, I’ll take a look.
10/11/2017 at 4:09 pm #437607Dariusz
GuestThis reply has been marked as private.10/11/2017 at 5:23 pm #437609Steven Zahm
Keymaster@ Dariusz
Ok, the Enfold theme loads the Google Maps API too. The option is found under the Enfold settings in the Google Services tab. I added your Browser API key and that resolved the
MissingKeyMapErrorerror. Unfortunately Enfold specifically loads a retired version of the Google Maps API. Sooo… I used Code Snippets and added a filter which disables the Enfold Google Maps API in the admin.Now it seems to work just fine. Hope that helps!
As for the image, that is just how the template displays in mobile. Since you are planning on buying cMap, there’s no need to worry about it because the image renders differently in cMap.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
