Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Google Maps Link

Featured Replies

Hi guys,

Hopefully this is straight forward enough.

I currently have a site with GPS coords listed, how would I go about creating a link to open Google Maps so a user can 'Find a Route'.

Hope that makes sense.

Thanks,
Al.

Edited by mrludable

There's a directions API as part of Google Maps that lets you do this, what you're looking for is the waypoints part https://developers.google.com/maps/documentation/directions/.

 

It terms of hooking it up. It can be a fair bit of work because you first need to get the users location using something like Geolocation, ensure the coordinates are correct and parsable by the API, then you can pass them in and render. You also need to account for no location being specified, a user can opt out of having their location readable by a site, and you won't want JS errors because of this.

 

Hopefully this will help https://jmperezperez.com/google-maps-geolocation-directions-specific-destination/.

  • Author

Thanks for the replies guys. Great info there. I'm not sure if the client wants to go ahead with it now anyway, but at least I have an idea of how to go about it now. Cheers!

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.