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.5, google maps api
- This topic has 5 replies, 2 voices, and was last updated 5 years, 10 months ago by
Steven Zahm.
-
AuthorPosts
-
05/06/2017 at 2:56 am #422050
wfca
ParticipantI just downloaded the latest version of the connections free + cMap template + Enhanced categories. At the moment i am unable to get maps working, so i turned them off, only to find that this causes a Javascript error which breaks a number of things. Some JS somewhere is looking for ‘google’ and it’s undefined, thus the error.
Loading google maps api is unchecked, using maps is unchecked, and the api field is blank.
05/06/2017 at 11:58 am #422065Steven Zahm
Keymaster@ Shanna
To remove the Google Maps error, please re-enable the Google Maps API option on the Connections : Settings admin page under the Advanced tab in the Compatibility section. Generally there is never a reason you would need to uncheck this option. Actually, it is only useful under some very specific scenarios so I’m very likely going to remove this option in a future update since to date it has caused more issues than it has helped to resolve.
Hope this helps.
05/06/2017 at 3:40 pm #422072wfca
ParticipantHi Steven,
I tried that before posting this issue. Enabling the API without enabling maps results in a Javascript error, which breaks other things.
05/06/2017 at 5:42 pm #422095Steven Zahm
Keymaster@ Shanna
Please enable the API and share a link to the page so I can take a look. Thanks!
05/06/2017 at 6:36 pm #422096wfca
ParticipantOk, i just did that, and today it is working without an error. There must have been something cached last night. There is still an error but a different one (NoApiKeys and MissingKeyMapError). I’m sorry for the wild goose chase.
It’s not very performance friendly to be loading the API when it’s not needed :)
05/06/2017 at 7:06 pm #422099Steven Zahm
Keymaster@ Shanna
re: There is still an error but a different one (NoApiKeys and MissingKeyMapError).
That will go away after you setup your Google Maps API key. There no harms as it is purely informational.
re: It’s not very performance friendly to be loading the API when it’s not needed :)
I hear you loud and clear … unfortunately due to the very high number of broken themes and themes which change the default page render order it became impossible to account for all the variations to make sure the API is loaded when needed. The best compromise I’ve been able to make is it will only load on the page which cMap is in use (in this specific case). Even with this compromise, there are themes that still break that due to change how WP renders the page.
Hope that helps!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.