Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'Get directions' button / macro to be used in Map Listings #7954

Open
SamP-dgt opened this issue Jan 18, 2025 · 2 comments
Open

Add 'Get directions' button / macro to be used in Map Listings #7954

SamP-dgt opened this issue Jan 18, 2025 · 2 comments

Comments

@SamP-dgt
Copy link

Map listing, together with CPTs, is useful to design a store locator. However, it looks like a basic feature is missing: a button – or macro to be associated to a button - to get directions, possibly based on user's geolocation. A simple URL may look like this:
https://www.google.com/maps/dir/?api=1&destination=[address field]

@Crocoblock Crocoblock added question Further information is requested JetEngine labels Jan 20, 2025
@Crocoblock
Copy link
Owner

Crocoblock commented Jan 20, 2025

Hi @SamP-dgt

please describe your issue/feature request in more detail and include some screenshots

@SamP-dgt
Copy link
Author

SamP-dgt commented Jan 20, 2025

Hi there,

It's more of a feature request.

In a Map Listing, I'd love to be able to easily achieve something like this:

Image

Where "Directions" opens up a Google Map separate tab showing directions: the destination is taken from the corresponding field of the current CPT and the origin is the user's geolocation (or "current position").

@Crocoblock Crocoblock added enhancement and removed question Further information is requested labels Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants