Button for Google Map

Asked by:
HubFans / n/a Points
Time:
2015-07-31 7:16 pm EST
Category:
How To
Hits:
64
So, I would like to add a button to our "Contact Us" page for our visitors to click on taking them to a new page where Google Maps will open. I have uploaded the button already into the cPanel as a .png file however, the image only appears as a box with an "x" in it. When I click on the box with an "x" in it, I will be forwarded to the desired Google Map only not in a new page. The code I am using is as follows: <a href="https://www.google.com/maps/dir//550+Club+Dr,+Montgomery,+TX+77316/@30.3770803,-95.6720554,15z/data=!4m8!4m7!1m0!1m5!1m1!1s0x86472195fcb2df53:0x5f336bf13803118b!2m2!1d-95.6694806!2d30.3767195"><img alt="" border="0" src="Images/getdirections.png" onmouseout="this.src='Images/getdirections.png'" onmouseover="this.src='Images/getdirections.png'" /></a></div>

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

TJEdens
Staff
1,198 Points
2015-07-31 7:28 pm EST
Hello,

You will need to do more than just have an anchor link. Please review the following guide provided by Google on how to put their map on your website.

https://developers.google.com/maps/tutorials/fundamentals/adding-a-google-map

Best Regards,
TJ Edens

To submit a comment on this answer, please first login.

Want to share this Question?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.