Location Services Not Working
-
Hi all!
We are looking to build a site for users who won’t be logged in to the system. They will simply be visiting the site to find locations near them.
Having installed the plugin we have the functionality up and running using the Google Maps API. Everything seems to run smoothly as long as there is an active login If you have simply visited the site and are not logged in, the Maps API functionality is limited and I have noted that the following is logged in the developers console:
Uncaught ReferenceError: google is not defined
at search-form-listing.js?ver=5.6.1:87
at search-form-listing.js?ver=5.6.1:135
(anonymous) @ search-form-listing.js?ver=5.6.1:87
(anonymous) @ search-form-listing.js?ver=5.6.1:135Is there a fix for this so that all functionality is available for visitors to the site?
I would also like to ask if there is a way to make the site focus on the users location on the window load?
Many thanks!
- The topic ‘Location Services Not Working’ is closed to new replies.