输入您的地址,看着标记落下,把它拖到您家门口的准确位置,然后复制一行 iframe——整件事就这么简单。地理编码只在这里的生成器里做一次:嵌入代码本身写死了坐标,所以您的访客只会加载 OpenStreetMap 的地图瓦片。无需 API 密钥,无需计费账户,没有 cookie,没有同意横幅,也不会向他们索取任何权限。有多家门店?最多可添加 10 个标记,地图会自动把它们全部框进视野。
基于授权 · 私密 · 支持 Chrome、Safari、Firefox、Edge
查找您的位置
1 · Set the location
Drag the pin (or click the map) until it sits exactly on your entrance — the embed uses these final coordinates, not the address text.
2 · Options
3 · Preview
Set a location above — the live preview appears here.
4 · Copy the code
Set a location first — the snippet appears here.
The URL is for platforms that embed by address instead of HTML — Notion’s /embed block, Google Sites’ Embed ▸ By URL.
Easiest: install the plugin and use the generated shortcode — see the WordPress section below. A Custom HTML block with this iframe works too.
Add a Code block and paste the snippet. Code blocks need the Business plan or higher — on the Personal plan the block shows your code as plain text.
Skip the paste — use the ready-made theme section: one file gives you a native settings panel with branches as blocks. Map widget for Shopify
These platforms embed by URL, not HTML: press “Copy widget URL” above, then paste it into Notion’s /embed block or Google Sites’ Embed ▸ By URL.
Any HTML/embed element takes the snippet as-is — Webflow’s Embed, Blogger’s HTML view, plain HTML pages.
Geocoding happened just now, in this builder — the embed itself ships fixed coordinates, loads only OpenStreetMap tiles, sets no cookies, and asks your visitors for nothing. No API key, no consent banner, no permission prompt.
5 · Optional: LocalBusiness structured data
Paste this into the same contact page (inside <head> or anywhere in the body) to tell Google and Bing your exact business location — it can surface your address and map pin directly in search results. Fill the overlay title above with your business name first; add a phone number if you want it shown.
Set a location first — the snippet appears here.
怎么在网站上放地图免费地图 iframe 代码
常见问题
嵌入这个地图需要 API 密钥吗?
不需要。地图使用 OpenStreetMap 瓦片,没有 API 密钥,也没有计费账户。您只要把生成的那一行 iframe 粘贴到页面里就行。