Friday, February 3, 2012

How do i add a google map onto my web site?

i am using css and html.

Also on my google map i would like to have a "get directions" option on the map. i have an api key. But not sure what code i need to use to put it on my site. i have tried going through the google directions on how to put google map on your web site but very complicated and didnt seem to work. can anyone help me please?



i need proper code and where to put it...in the css part or the html part. or if both which code goes where. thanks a bunch :)How do i add a google map onto my web site?
The API is great but it sounds like you might be able to go a simpler route and just search on Google maps for the address you want, zoom into the appropriate level and then click the "link" link in the top right-hand corner of the map (when viewing it directly at maps.google.com) and paste the code found under "Paste HTML to embed in website". You can modify the size of the map as well as the zoom etc.



Put it directly in your HTML code. CSS should be just for layout not the actual content.



The API allows you to do pretty much whatever you want but if you are asking about CSS and HTML it's probably a ways beyond where you're at knowledge-wise.

No comments:

Post a Comment