# How to add a map to your business website

URL: https://portfolio.wrxstack.com/blog/google-maps-on-your-website
Published: 2026-06-14. Last reviewed: 2026-11-08. By Folio Editorial.

To add a map to your business website, open your location in Google Maps or OpenStreetMap, use the share or embed option to copy the embed link or iframe code, and paste it into your contact page. Place it with your address, hours and phone number. Folio accepts only Google Maps or OpenStreetMap embed links, keeps just the embed address from any iframe code you paste and runs the map in a restricted frame, so nothing else from the pasted code can run.

## Key takeaways

- A map belongs on your contact page, beside the written address, hours and phone number.
- Always include the address as text. A map alone cannot be read by search engines or screen readers.
- Embedding means showing a map from another service inside your page, so choose a trusted provider.
- Pasted code can carry more than a map. Keep only the embed address and sandbox the frame.
- Add a plain "Get directions" link for visitors who prefer their own map app.

## What a map does for visitors

People rarely read an address and then open a separate app to find it. They want to see where you are, how far it is and how to get there. A map on your contact page answers all three at once, and it lets someone on a phone tap straight through to turn-by-turn directions.

A map also reassures. It shows that your business is a real place, in a real street, near landmarks the visitor knows. For service area businesses, a map can show the general area you cover instead of a private address.

A map is a supplement, not a substitute. Keep your address as ordinary text next to it. Search engines and screen readers cannot read the inside of a map frame, and the text is also what people copy into other apps.

## Embed a map in five steps

The details of the menus change over time, but the idea stays the same.

1. **Find your place on the map.** Search your business name or address in Google Maps or OpenStreetMap. Check that the pin is on the right building, and move it if it is not.
2. **Open the share or embed option.** In Google Maps, use Share and choose the option to embed a map. In OpenStreetMap, use the Share panel and choose the HTML option. Both give you a short snippet.
3. **Choose a sensible size and zoom.** Pick a zoom level where the surrounding streets and a landmark are visible. A map that is too far out shows nothing useful.
4. **Paste the embed link or snippet into your page.** Put it in the map or embed field of your contact page. Your builder decides how much of the pasted code is kept, which is covered below.
5. **Add directions and a text address.** Place the address, phone and opening hours next to the map, and add a link such as "Get directions" that opens the place in the visitor's own map app.

## Why pasted embed code needs care

An embed snippet is code from another site. A careful builder treats it as untrusted.

- **Only the address matters**: A map snippet is an iframe with an address inside it. That address is the only part you need. Attributes, scripts and extra markup in the paste are not needed to show a map.
- **Known providers only**: Restrict embeds to the map services you intend to use. Accepting any address means anything can be loaded into your page.
- **A restricted frame**: The browser can run an embedded page in a sandbox that limits what it may do on your site. This contains the map even if the provider's page changes.
- **Check what you paste**: Take embed code only from the provider's own share panel. Never paste code from an email, a forum or an unknown helper.

## What Folio does with a pasted map

Folio treats any pasted map code as untrusted and keeps only what a map needs.

| Capability | Folio | Raw iframe paste |
| --- | --- | --- |
| Accepted providers | Google Maps or OpenStreetMap embed links only | Whatever address is in the code |
| What is kept | Just the embed address from the pasted iframe | The whole snippet, attributes included |
| How it runs | In a restricted frame, so nothing else from the paste can run | With whatever the snippet allows |

_Whatever you paste, the map address is the only part Folio keeps._

## Placement, accessibility and speed

Give the map a text title or caption such as "Map showing our clinic on Orchard Road", so screen reader users know what it is and can skip it. Make sure the "Get directions" link is real text and large enough to tap.

Maps load a good deal of data. Place yours lower on the page, below the written details, so it does not slow the first view. Where possible, load it only when the visitor scrolls near it, and do not put maps on every page when one on the contact page is enough.

If you have several locations, give each branch page its own map rather than one map with many pins that is hard to use on a phone. Check each pin on the real street before you publish.

## Questions and answers

**How do I add Google Maps to my website?**

Find your place in Google Maps, use Share and choose the embed option, copy the link or iframe code, and paste it into the map or embed field of your contact page. Then add your address as text and a directions link.

**Is it safe to paste an iframe from a map service?**

Take it only from the provider's own share panel. A careful builder keeps just the embed address and runs the frame in a sandbox. Folio does exactly this and accepts only Google Maps or OpenStreetMap embed links.

**Can I use OpenStreetMap instead of Google Maps?**

Yes. OpenStreetMap offers an embed option in its Share panel and is a good choice if you prefer an open map. Folio accepts both.

**Does a map help my search visibility?**

A map helps visitors, and your written address and structured data help search engines. No one can promise that embedding a map changes your position in results.

**Should I show a map if I work from home?**

Probably not at your exact address. Hide the street address, list the areas you serve, and, if you want a map, centre it on the general area rather than your home.

**Will a map slow my site down?**

It can, because maps load extra data. Place it lower on the page, use one map on the contact page, and avoid repeating it across many pages.
