Linking to a location

How would one link to a location of a business? Preferably just linking it to text to where if someone clicked or tapped on it, it would bring up maps to direct them to the location.
5 Replies
MarkBoots
MarkBoots2y ago
go to google maps, pinpoint the location, click directions (leave start location empty), and grab the link then you will have something like this https://www.google.com/maps/dir//Big+Ben,+London,+United-Kingdom/@51.5008152,-0.1946648,12z. That link you can use in your html
Google Maps
Google Maps
Find local businesses, view maps and get driving directions in Google Maps.
kingsilver420
kingsilver420OP2y ago
I just put the link in the a href part? I got it. I appreciate you.
MarkBoots
MarkBoots2y ago
yep also i would suggest to put in in an <address> tag. you can also use it for phone and mail. This will be usefull for seo and screenreaders
<address>
<a href="linktomaps" target="_blank">My location</a>
<a href="tel:+1234567890">+1234567890</a>
</address>
<address>
<a href="linktomaps" target="_blank">My location</a>
<a href="tel:+1234567890">+1234567890</a>
</address>
kingsilver420
kingsilver420OP2y ago
Alright. I'll keep that in mind too. I'm still a beginner compared to everyone else & I have things set up a certain way. I'm afraid to mess things up lol. Once I get most of it done, I'll probably have someone help me clean things up a bit. It took me a day & a half to make a footer. Just for the mobile version too.
MarkBoots
MarkBoots2y ago
just keep it up. you'll be fine. Good luck!
Want results from more Discord servers?
Add your server