Sauter la navigation

[Résolu] How to enter the Google map API key without Toolset Maps

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:

The issue here was that the user wanted a way to add the google maps api key to their website without Toolset Maps.

Solution:

The API key can be entered directly on the site by following the instructions in the link below.
https://developers.google.com/maps/documentation/javascript/get-api-key

0% of people find this useful.

This support ticket is created Il y a 6 années et 3 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Marqué : 

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

Dernière mise à jour par Pat Il y a 6 années et 3 mois.

Assisté par: Shane.

Auteur
Publications
#1115475

Pat

Hello,

I'm using the Google maps functionality that was integrated inside Views from the beginning (not the Toolset Map plugin).
How can I enter the Google map API key with this version?
Regards
Pat

#1115770

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Pat,

Thank you for contacting our support forum.

Unfortunately I see no way of doing this as the google maps does not work without the Toolset Maps plugin.

Thanks,
Shane

#1116118

Pat

Hi Shane,,
For me, this is still working without Toolset maps. The only issue is that I have the Google message over it due to lack of valid API.

Is there a way to declare the Google API other than with the Toolset parameters (like some code in the head section for example)?
Regards
Pat

#1116503

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Pat,

You could try the instructions in the link below.
lien caché

Thanks,
Shane

#1117913

Pat

Hi Shane,

Tried the proposed solution but it says that API was declared multiple time on the same page.
So I remove the additional code and then, the maps are displayed correctly, even if I'm using the map version integrated in Views and not the Toolset map plugin?
Regards
Pat