Skip Navigation

[Résolu] Use my location stopped working

This support ticket is created Il y a 1 année et 9 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par diyanK Il y a 1 année et 9 mois.

Assisté par: Nigel.

Auteur
Publications
#2563245

Hi Team,

It has been some time since I last updated some of my web apps that use Toolset Maps, and I've realised that the "use my location" feature no longer works.

I've got this in my console: "Loading the Google Maps JavaScript API without a callback is not supported: lien caché"

Looks like something has changed and I got out of sync with staying up to date, can you help me get back on track?

Best,
D.

#2563583

Nigel
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: Europe/London (GMT+00:00)

Hi there

Google updated their API recently, adding a required parameter which we weren't using, resulting in the message you were seeing in the console.

We published an erratum about this issue here: https://toolset.com/errata/js-error-from-google-api-when-displaying-a-map-on-the-front-end/

As it is just a warning I wasn't expecting it to have any consequences, so I'm not sure if it is related to Use my location not working.

The developers already have a fix for this new warning which will go out with the next Maps release.

Could I ask you to test that fix to see if it impacts your Use my location problem?

You can get the test version of the Maps plugin here: lien caché

Let me know how that goes. If it does resolve the problem I'll update the erratum accordingly.

#2564353

Hi Nigel,

That update seems to have fixed the issue and “use my location” works as expected now.

Thank you for your quick reply and top notch support!

Best,
D.