Passer la navigation

[Résolu] How can I make an address field open up Google maps when clicked?

This support ticket is created Il y a 2 years, 3 months. 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Fuseau horaire du supporter : Asia/Kolkata (GMT+05:30)

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

Dernière mise à jour par Minesh Il y a 2 years, 3 months.

Assisté par: Minesh.

Auteur
Publications
#2682299

How can I make an address field open up Google maps when clicked?
Also, is there a way to add a link for directions on a map?
See lien caché

#2682373

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Do you want to add a marker popup so when user click on the marker added on the map it should open up popup with the details you want to display? or you want to add a lightbox popup and open map in lightbox popup when user click on the address displayed as link?

#2683571

The second option, although I don't necessarily need a lightbox. I'm thinking about a user tapping the address while on a smartphone and then seeing directions for getting to the address listed.

#2683575

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

There is no such feature to show direction but what if you try to use the workaround shared with the following related ticket that might help you:
- https://toolset.com/forums/topic/view-larger-map/#post-955423